Re: euphoria to arduino
- Posted by johnrpm Jan 09, 2012
- 2308 views
Thanks again Arthur, it worked, also changed lpWBbuf to object
----------------------- sio_write ----------------------- global function sio_write(integer port, object lpWBuf, integer len) --return c_func(sio_write_,{port, lpWBuf, len}) return c_func(sio_write_,{port,allocate_string(lpWBuf),8}) end function
I can now send a string of 8 bits to turn on or off 8 LED's, which will be transistors eventually.