looks good, but there one thing i don't understand, it seems there some indentation-based language in it (no C/C+) because you do
if (statement)
...
else
...
is that specified for the serverpart of the board? looks nice
i didn't think it was as simple as just printing "Hello from my Arduino!
" xp
can't you use modulus to convert milis to hours/mins/seconds? that's like 10.000 times easier, and it looks cleaner ![]()
just do this:
Hours = Milliseconds / (1000*60*60)
Minutes = (Milliseconds % (1000*60*60)) / (1000*60)
Seconds = ((Milliseconds % (1000*60*60)) % (1000*60)) / 1000
But i'm not sure modulus works on the arduino, but i think it should..i hope so