arduino studio 6
unknown
plain_text
3 years ago
473 B
7
Indexable
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.
}
Editor is loading...