Increment transmitted value

sender
mandlm 2017-10-19 17:24:26 +02:00
parent 2dcae04869
commit d610efa5f1
1 changed files with 4 additions and 2 deletions

View File

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