加速度計まで実装した相互通信動くやつ、レシーバー
Dependencies: ADXL345_I2C mbed INA226
Fork of RS485R_2 by
Revision 4:dbe62d9b6087, committed 2015-12-31
- Comitter:
- YusukeWakuta
- Date:
- Thu Dec 31 17:28:18 2015 +0000
- Parent:
- 3:8e73f0779dc5
- Child:
- 5:9e817c18440a
- Commit message:
- 1230??????????????
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Dec 27 19:50:07 2015 +0000 +++ b/main.cpp Thu Dec 31 17:28:18 2015 +0000 @@ -36,7 +36,7 @@ break; case 'C': Receiver = 1; - wait_ms(1); + wait_us(500); rs485.putc('X'); rs485.putc((signed char)acc[0]); rs485.putc('Y');