Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ESP8266 , need help
08-24-2015, 07:34 PM
Post: #12
RE: ESP8266 , need help
Problem solved! I was my fault, sorry Angel I forgot to update the JJROBOTS_OSC.h on OSC library in the github repository.
Please update your JJROBOTS_OSC library from GitHub or use the files attached here.
The definition of the Serial1_xxx functions are in JJROBOTS_OSC.h file. The functions are implemented on the .cpp file.
We decide to "rewrite" this Serial1 functions because the default arduino library discard new messages when serial RX buffer is full. For this aplication, we need to discard OLD messages when buffer is full. (described on library header)
Yes, we could rewrite the arduino core files (HardwareSerial1.cpp) but we prefered to not modify the arduino core files because users could run other projects with different needs... So this "special" implementation of the serial RX buffer only affects the BROBOT code.

Please try it, and let us know if it works ok...
Jose.


Attached File(s)
.zip  JJROBOTS_OSC.zip (Size: 4.27 KB / Downloads: 50)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ESP8266 , need help - Pat78 - 08-12-2015, 08:06 PM
RE: ESP8266 , need help - JJrobots JP - 08-20-2015, 09:19 AM
RE: ESP8266 , need help - sasa999 - 08-20-2015, 11:36 AM
RE: ESP8266 , need help - Pat78 - 08-20-2015, 02:49 PM
RE: ESP8266 , need help - sasa999 - 08-20-2015, 07:35 PM
RE: ESP8266 , need help - gabe - 08-25-2015, 08:32 AM
RE: ESP8266 , need help - Paulnea - 08-23-2015, 01:39 AM
RE: ESP8266 , need help - JJrobots JP - 08-23-2015, 08:34 PM
RE: ESP8266 , need help - Paulnea - 08-24-2015, 05:23 AM
RE: ESP8266 , need help - JoseJulio - 08-24-2015, 08:53 AM
RE: ESP8266 , need help - Pat78 - 08-23-2015, 09:24 PM
RE: ESP8266 , need help - gabe - 08-24-2015, 12:59 PM
RE: ESP8266 , need help - JoseJulio - 08-24-2015 07:34 PM
RE: ESP8266 , need help - Paulnea - 08-25-2015, 03:56 AM
RE: ESP8266 , need help - JoseJulio - 08-25-2015, 01:05 PM
RE: ESP8266 , need help - Pat78 - 08-24-2015, 08:51 PM
RE: ESP8266 , need help - gabe - 08-25-2015, 02:00 AM
RE: ESP8266 , need help - sasa999 - 08-25-2015, 09:13 AM
RE: ESP8266 , need help - JJrobots JP - 08-25-2015, 09:41 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)