This documents how I did setup my Stereo to automatically turn on when I play music over airplay, and turns off afterwards.
FEX:
gpio_pin_5 = port:PB15<0><0><default><0>This documents how I did setup my Stereo to automatically turn on when I play music over airplay, and turns off afterwards.
FEX:
gpio_pin_5 = port:PB15<0><0><default><0>| using SteamKit2; | |
| using System.Collections.Generic; | |
| using SteamTrade; | |
| using System; | |
| using System.Timers; | |
| namespace SteamBot | |
| { | |
| public class KeyUserHandler : UserHandler | |
| { |
| using SteamKit2; | |
| using SteamTrade; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Threading; | |
| using System.Timers; | |
| namespace SteamBot | |
| { | |
| public class ScrapUserHandler : UserHandler |
Prerequirements
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install apt-rdependsGet the stuff needed for compiling
sudo apt-get install `apt-rdepends python3 | grep ^lib`http://ponyvillefm.com/data/nowplaying json 2016-05-20
| https://jsfiddle.net/wfr4tLku/0/ # http://stackoverflow.com/a/36949791/3423324 | |
| http://jsfiddle.net/Z9pQE/44/ # http://stackoverflow.com/a/17192845/3423324 | |
| http://jsfiddle.net/3VuLx/244/ # http://stackoverflow.com/a/22373135/3423324 |
I did the steps in this Cubietruck GPIO tutorial before, so I might miss dependencies already installed there. If that is the case, bug me in a comment.
Licensed under a Luna-Will-Cry-If-You-Modify-Or-Redistribute-This 1.0 licence.
sudo apt-get install -y autoconf libtool libdaemon-dev libasound2-dev libpopt-dev avahi-daemon libavahi-client-dev libssl-dev git
sudo apt-get install -y libsoxr-dev| Hier die Schritte zum Installieren/Compilieren: | |
| 0- Download | |
| http://www.cygwin.com/ | |
| Download > Richtige Version (meist 64 Bit) | |
| https://cygwin.com/setup-x86.exe | |
| Dann kann schon mal mit SChritt (1) gestartet werden. | |
| http://web.stanford.edu/group/radar/softwareandlinks/sw/snaphu/ |
| [35%]tstrazzere@bebop:[rsakeyfind] $ diff rsakeyfind.cpp-fixed rsakeyfind/rsakeyfind.cpp-original | |
| colordiff 1.0.10 (http://colordiff.sourceforge.net/) | |
| (C)2002-2012 Dave Ewart, davee@sungate.co.uk | |
| 4,5d3 | |
| < | |
| < #include <unistd.h> | |
| 8a7 | |
| > #include <fcntl.h> |
| <html> | |
| <head> | |
| <title>Test</title> | |
| <meta charset="utf-8" /> | |
| <meta name="apple-mobile-web-app-title" content="something" /> | |
| <meta name="apple-mobile-web-app-capable" content="yes" /> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="black" /> | |
| <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, height=device-height"> | |
| <style> |