#include "Arduino.h"
void setup() {
Serial.begin(115200);
pinMode(4, OUTPUT); //RED LED
pinMode(12,OUTPUT); //Blue LED
}
void loop() {
int x = 119;
if(x==120)
{
digitalWrite(4, HIGH);
}
else
{
digitalWrite(12,HIGH);
}
}
#include "Arduino.h"
void setup() {
Serial.begin(115200);
pinMode(4, OUTPUT); //RED LED
pinMode(12,OUTPUT); //Blue LED
}
void loop() {
int x = 119;
if(x==120)
{
digitalWrite(4, HIGH);
}
else
{
digitalWrite(12,HIGH);
}
}