aPoluden / moisture

0 stars 0 forks source link

Fix data receive from Serial #1

Closed aPoluden closed 8 years ago

aPoluden commented 8 years ago

When data comes from serial I uses serialEvent listener to process data. When using serialEvent method it's called multiple times and removes previosly collected local method data from serial.

TODO Check Serial from within loop method.

aPoluden commented 8 years ago

Solution: refuse using serialEvent. Check serial bytes in main loop