Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial mbed telemetry
main.cpp
- Committer:
- Overdrivr
- Date:
- 2016-03-02
- Revision:
- 0:c39bdc8eed82
- Child:
- 1:234cbe65336d
File content as of revision 0:c39bdc8eed82:
#include "Telemetry.h"
#include "mbed.h"
int main()
{
Telemetry TM;
Timer refresh;
refresh.start();
for( ; ; )
{
if(refresh.read_ms() > 300)
{
refresh.reset();
TM.pub_u32("rand",rand());
}
}
}