Increment transmitted value

This commit is contained in:
Michael Mandl 2017-10-19 17:24:26 +02:00
parent 2dcae04869
commit d610efa5f1

View file

@ -7,13 +7,15 @@ int main(int argc, char **argv)
Sender sender(27); Sender sender(27);
unsigned int data = 1;
while (true) while (true)
{ {
unsigned int data = 23;
std::cout << "Sending: " << data << std::endl; std::cout << "Sending: " << data << std::endl;
sender.send(data); sender.send(data++);
delay(1000); delay(1000);
} }