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: Encoder mbed HIDScope Servo MODSERIAL
Fork of chessRobot by
debug.cpp
- Committer:
- annesteenbeek
- Date:
- 2015-10-07
- Revision:
- 38:2c18429ad352
- Parent:
- 37:9a9e5a21e47a
- Child:
- 39:41635b1b11de
File content as of revision 38:2c18429ad352:
#include "mbed.h"
#include "debug.h"
#include "HIDScope.h"
#include "buttons.h"
#include "actuators.h"
#include "config.h"
// all the debugging functions
HIDScope scope(4);
void debugProcess(){
scope.set(0, motorsEnable);
scope.set(1, actuatorState);
scope.set(2, button2.read());
scope.set(3, a);
scope.send();
}
