Reading multiple serial inputs

edited June 2017 in Arduino

Hello,

For a project I have an Arduino sending 5 different values. The values are between 0 and 100 and if they go over 50, I want a boolean to become true. The Arduino is sending data over the serial like this:

VALUE \t #VALUE \t #VALUE \t #VALUE \t #VALUE

The problem I have is that I have to cut the string from Arduino in smaller pieces, put them temporarily somewhere, and then check the value if they are over 50 to make a boolean true.

Can someone help me?

Sign In or Register to comment.