Derrick Posted March 28, 2014 Share Posted March 28, 2014 Hello, I have programed a microcontroller to accept serial data through an RS232 port that will allow me to control an RGB LED. The strings I need to send to it are three comma separated values (ie: 255, 255, 255). I am trying to create a list of "actions" in Driver Editor that will allow me to select colors and change the color of the LED. It seems that comma separated values are not allowed, is this true? If anybody can forward me to a site, reading material or explain to me how I can accomplish this it would be greatly apriciated. Thanks Link to comment Share on other sites More sharing options...
LSDave Posted March 28, 2014 Share Posted March 28, 2014 why not change the software on the microcontroller to receive values like r255 g255 b255 Link to comment Share on other sites More sharing options...
Derrick Posted March 28, 2014 Author Share Posted March 28, 2014 So I discovered that you can easily send ascii strings over serial using C4:SendToSerial(idbinding, strData) So I guess my next step is to implement this into an "action" so that I can trigger from within composer. Just to make sure everything is working properly. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.