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 3:b707c09b4433, committed 2017-02-04
- Comitter:
- jksoft
- Date:
- Sat Feb 04 03:33:08 2017 +0000
- Parent:
- 2:20b6647c8570
- Commit message:
- ????
Changed in this revision
| wallbotLED/wallbotLED.cpp | Show annotated file Show diff for this revision Revisions of this file |
| wallbotLED/wallbotLED.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/wallbotLED/wallbotLED.cpp Fri Feb 03 13:39:44 2017 +0000
+++ b/wallbotLED/wallbotLED.cpp Sat Feb 04 03:33:08 2017 +0000
@@ -40,9 +40,9 @@
SetFloorSensorGain(SENSOR_VAL_GAIN_DEFAULT);
_mpu.initialize();
_sw.mode(PullUp);
- _matrix1.begin(0x71);
+ _matrix1.begin(0x70);
//_matrix1.begin(0x74);
- _matrix2.begin(0x70);
+ _matrix2.begin(0x71);
_matrix1.clear();
_matrix2.clear();
for(int i = 0 ; i < 4 ; i++)
--- a/wallbotLED/wallbotLED.h Fri Feb 03 13:39:44 2017 +0000 +++ b/wallbotLED/wallbotLED.h Sat Feb 04 03:33:08 2017 +0000 @@ -33,8 +33,8 @@ #include "Adafruit_LEDBackpack.h" #include "Adafruit_GFX.h" -#define SENSOR_VAL_GAIN_DEFAULT 100 -#define SENSOR_VAL_DEFAULT 950 +#define SENSOR_VAL_GAIN_DEFAULT 300 +#define SENSOR_VAL_DEFAULT 800 /** wallbot LED control class *