qSniff/source/send/send.cpp

25 lines
286 B
C++

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