Increment transmitted value
This commit is contained in:
parent
2dcae04869
commit
d610efa5f1
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue