left one digitalwrite in there...
This commit is contained in:
parent
891bf470fe
commit
35d1ab23de
@ -57,7 +57,6 @@ void loop() {
|
|||||||
int packetSize = port.parsePacket();
|
int packetSize = port.parsePacket();
|
||||||
// If packets have been received, interpret the command
|
// If packets have been received, interpret the command
|
||||||
if (packetSize) {
|
if (packetSize) {
|
||||||
digitalWrite(0, 1);
|
|
||||||
int len = port.read(packetBuffer, BUFFER_LEN);
|
int len = port.read(packetBuffer, BUFFER_LEN);
|
||||||
for(int i = 0; i < len; i+=4){
|
for(int i = 0; i < len; i+=4){
|
||||||
packetBuffer[len] = 0;
|
packetBuffer[len] = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user