mirror of
https://github.com/workinghard/Cube4Fun.git
synced 2025-12-13 20:32:09 +00:00
a
This commit is contained in:
@@ -228,7 +228,7 @@ void CubeNetwork::sendBytes(const unsigned char* byteBuffer, unsigned int byteLe
|
||||
// let arduino knows what to expect
|
||||
msgStartWrite(byteLength);
|
||||
char myBuffer[4];
|
||||
int ret = stream->receive(myBuffer,4);
|
||||
long ret = stream->receive(myBuffer,4);
|
||||
printf("received Length:\n");
|
||||
printf("0: %u\n", myBuffer[0]);
|
||||
printf("1: %u\n", myBuffer[1]);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
------------------------------------------
|
||||
|
||||
Copyright © 2013 [Vic Hargrave - http://vichargrave.com]
|
||||
Copyright <EFBFBD> 2013 [Vic Hargrave - http://vichargrave.com]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
Reference in New Issue
Block a user