Examples/Receiver-Arduino/producer.ino

18 lines
250 B
C++

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);
}