Junichi Katsu
/
wallbotLED_base
うおーるぼっとLEDのワークショップ用
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 |
diff -r 20b6647c8570 -r b707c09b4433 wallbotLED/wallbotLED.cpp --- 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++)
diff -r 20b6647c8570 -r b707c09b4433 wallbotLED/wallbotLED.h --- 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 *