qSniff/source/send/send.cpp

23 lines
284 B
C++
Raw 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);
while (true)
{
unsigned int data = 23;
std::cout << "Sending: " << data << std::endl;
sender.send(data);
delay(1000);
}
return 0;
}