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.
Revision 5:54ff826d1897, committed 2015-04-24
- Comitter:
- tyleralt
- Date:
- Fri Apr 24 17:30:54 2015 +0000
- Parent:
- 4:a7442c1faed1
- Commit message:
- this is the code;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Apr 24 07:51:33 2015 +0000
+++ b/main.cpp Fri Apr 24 17:30:54 2015 +0000
@@ -5,7 +5,7 @@
#include "MRF24J40.h"
-int offAngles [8] = {0, 180, 45, 225, 90, 270, 135, 315};
+int offAngles [8] = {-3, 174, 44, 228, 90, 270, 135, 315};
//*********************point class************************//
class Point {
@@ -118,7 +118,7 @@
void sendPointOver (int slice, int distance, char height, char operation){
///TODO implement communications
- //printf(" slice %i distance %i height %X operation %c \r\n", (char) slice, (char) distance, height, operation);
+ printf(" slice %i distance %i height %X operation %c \r\n", (char) slice, (char) distance, height, operation);
txBuffer [0] = (char) slice;
txBuffer [1] = (char)distance;
txBuffer [2] = height;
@@ -284,7 +284,7 @@
}
void select(){
- if (!registerButtons){
+ if (!registerButtons){
return;
}
registerButtons = false;