euphoria to arduino
- Posted by johnrpm Jan 09, 2012
- 2417 views
I wonder if anyone can help, I am trying to get euphoria to turn pins on and off on an arduino using serial, I am using an include file from " serial communications" in the archive posted by Kondor Attila in 2005, I can send a individual char using the function (sio_putch), but can not send a string using (sio_write), I need this to turn on multiple pins, here is the function.
----------------------- sio_write ----------------------- global function sio_write(integer port, integer lpWBuf, integer len) return c_func(sio_write_,{port, lpWBuf, len}) end function
the help file indicates this..... sio_write (port, "ABCDE", 5)
lpWBuf is an integer, so how do I send a sequence, this may be a stupid question, but I am probably the worlds worst programmer.