Skip to content

Commit

Permalink
pinMode bugfix thanks to Shachar
Browse files Browse the repository at this point in the history
  • Loading branch information
gioblu committed Jan 8, 2016
1 parent f8205f8 commit 45bbdab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/BlinkTest/Receiver/Receiver.ino
Expand Up @@ -4,6 +4,8 @@
PJON network(12, 44);

void setup() {
pinModeFast(13, OUTPUT);
digitalWriteFast(13, LOW);
Serial.begin(9600);
network.set_receiver(receiver_function);
};
Expand All @@ -19,4 +21,4 @@ void receiver_function(uint8_t length, uint8_t *payload) {

void loop() {
network.receive(1000);
};
};

0 comments on commit 45bbdab

Please sign in to comment.