Hello
ok i've set up a serial connection between my arduino uno and matlab, and i works fine
i hooked up my matlab to another serial interface with an lcd to better understand what matlab sends out
Matlab sends out single digits if for example i send out 2015 it send the 2 alone then the 0 then the 1 then the 5
on the arduino side i know arduino converts its serial read to ascii and i know it has a carriage byte at the end
my question is this
how do i reconstruct the number on arduino side ?? i know i need an array and i could use the atoi function but i just don't understand how to do it
so any help would be greatly appreciated
thanks