i'm new to nxt & NXC language i need help if you can
i have color sensor for detect color and this is the code for detect color
string sColor ;
switch (sensor_value )
case 1: sColor = "Black"; break;
case 2: sColor = "Blue"; break;
case 3: sColor = "Green"; break;
case 4: sColor = "Yellow"; break;
case 5: sColor = "Red"; break;
case 6: sColor = "White"; break;
default: sColor = "???"; break;
i wanna ask you can i send this color to the computer through bluetooth with every color do something like if detect green color open any program like photoshop or anything else and i can send maybe red color to program maybe programmed by c++ the function if then program if (color ==red ) cout << "Color is red"; this is my idea i hope help me if you can !!!
plz help me by anything until is resources !!!