What I am trying to do is set leds to different colours using VB.net. I have got a program made in VB.net to send different values and have tried to make the arduino code aswell but with no luck and now looking for some help, I have been trying this for the past 3 days.
I want to send values between 0 - 5000 and text that will tell the arduino to do different things. Any info on being able to do this will help.
Here is the lastest code I am trying to get to work. I cannot get it to take to input of "R100" or "R1000" then send that value to the TLC5940 as an led value.
#include "Tlc5940.h"
int sensorValue = 1024;
char inByte[13] = "000000000000";
So what I need to do is create a starting and ending byte that will allow me to know once all of the data has been sent and then use a loop to store this data into an array?
How would I get the data out of the array or split the data up so that it is a byte?