qSniff/source/send/send.cpp

25 lines
286 B
C++
Raw Permalink Normal View History

2017-10-19 15:17:52 +00:00
#include "sender.h"
#include <iostream>
int main(int argc, char **argv)
{
std::cout << "Send" << std::endl;
Sender sender(27);
2017-10-19 15:24:26 +00:00
unsigned int data = 1;
2017-10-19 15:17:52 +00:00
while (true)
{
std::cout << "Sending: " << data << std::endl;
2017-10-19 15:24:26 +00:00
sender.send(data++);
2017-10-19 15:17:52 +00:00
delay(1000);
}
return 0;
}