![]() The Putty console looks like this once the code is running.Īs you say you must not connect a 5 volt sugnal to a 3.3 volt signal. I think the sniffer code is working but the Raspberry Pi does not appear to be receiving anything even when I place the receiver and transmitter right next to each other. ![]() Printf("Received %i\n", mySwitch.getReceivedValue() ) MySwitch.enableReceive(PIN) // Receiver on interrupt 0 => that is pin #2 ![]() If (pulseLength != 0) tPulseLength(pulseLength) If (argv != NULL) pulseLength = atoi(argv) Printf("wiringPiSetup failed, exiting.") This pin is not the first pin on the RPi GPIO header!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |