Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Have started using GCB with MakerPlot via RS-232 connection, and it works fine.
However, I have to send multiple ASCII codes to MakerPlot get it to plot digital data,
requiring multiple SerSend instructions. Is there a way to use SerSend so that multiple ASCII codes can be sent at once? More specifically, how do I avoid this:
Sersend 1,32 : SerSend 1,65 : SerSend 1,68 : Sersend 1,67 : Sersend 1,32 : SerSend 1,56 : SerSend 1,93
Not familiar with MakerPlot. If you have a defined set of values/variables each sample period, then using an array could clean things up?
plot(1) = 32
plot(5) = 32
'plot(2) = ReadAD(AN0), plot(3) = ReadAD(AN1),.......
for buffers = 1 to plot(0) 'plot(0) is size of array
SerSend 1, plot(buffers)
wait 1 s
Thanks for the reply; I think using your idea will do the trick!
By the way, MakerPlot is an upgrade of the old Stamp Plot software; lets you plot analog and digital data in multiple and customizable formats, and has a nice debug window; works with most micros. And it's very affordable.
Sounds interesting, now if I can only just finish off some of my other projects, I could give it a try... :).