Hello, i want to send some informations to some variables in arduino.
for example i want to send those values 255 -15 10 8.5 from serial monitors to specefic variable on arduino.
please could you help me
thanks
ivoid setup() {
// put your setup code here, to run once:
float a,b,c,d;
}
void loop() {
// after the variable get those values
a=255;
b=-15;
c=10;
d=8.5
float a,b,c,d;
void setup() {
 // put your setup code here, to run once:
Serial.begin(9600);
a=Serial.parseFloat();
b=Serial.parseFloat();
c=Serial.parseFloat();
d=Serial.parseFloat();
}
void loop() {
// the variables have gotten get those values
// a=255;
// b=-15;
// c=10;
// d=8.5
}