Hello all,
I am attempting to figure out how to send some data from the computer to the arduino.
The data would consist of 3 parts (channel, binary state, event code) ie. (11, 0, 1) (channel 11, state off, event code 1)
I am looked on the forum, and the web. I see this is certianly a way to handle this within the arduino. But it seems that their are many different ways to do it, and I am very unsure of which one, is correct, or standard, etc.
Perhaps someone has an easy library which makes this a cakewalk?
So,
What is the standard method to take some serial data and put it into a small array.
on the flip side of this, how would one go about formatting the data I wish to send, in the arduino IDE?
Any help is apprediated.
Thank You