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: TargetManager mbed
main.cpp
- Committer:
- dupm2216
- Date:
- 2017-03-11
- Revision:
- 0:fc00abeafce9
- Child:
- 1:0bee55a260e3
File content as of revision 0:fc00abeafce9:
#include "mbed.h"
#include "TargetManager.hpp"
#include "Bumper.hpp"
int main()
{
PinName bumper_pin = p5;
TargetManager target_manager;
Bumper bumper(target_manager, 42, bumper_pin);
while(true)
{
//DigitalIn in(bumper_pin);
//const int value = in.read();
//printf("Value: %d\r\n", value);
//wait_ms(250);
}
}