Examples/Receiver-Arduino/producer.ino

18 lines
250 B
Arduino
Raw Permalink Normal View History

2023-09-19 09:14:56 +00:00
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
uint32_t w = 0xCAFE0000;
w |= random(100);
Serial.write( (char*) &w, 4);
delay(1000);
}