il est la, il est beau!!!!
Dependencies: m3piBluetooth mbed
Diff: polulu.cpp
- Revision:
- 1:63050abd40e9
- Parent:
- 0:b839dbffc636
diff -r b839dbffc636 -r 63050abd40e9 polulu.cpp --- a/polulu.cpp Thu May 03 14:03:58 2018 +0000 +++ b/polulu.cpp Thu May 03 14:40:33 2018 +0000 @@ -161,8 +161,8 @@ //-------- recuperation de l info sur la direction ---------// -void getdir(char c) +void getdir(char* c) { - c = bt.getc(); + c[0] = bt.getc(); }