arduino studio 6

mail@pastecode.io avatar
unknown
plain_text
a year ago
473 B
3
Indexable
Never
void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
    int num = 1;
   while (num < 12000){
       byte one = num >> 8 & 0xff;
       byte two = num & 0xff;
       Serial.write(one);
       Serial.write(two);
       num++;
  }

}

void loop() {
  // put your main code here, to run repeatedly:
  //Make a new Arduino sketch (named datatypetest.ino that first Serial.write()s then Serial.print()s the numbers 0 through 360 in sequence. 
  
 
}