Search found 4 matches
- Thu Oct 13, 2016 5:58 am
- Forum: micro:bit boards
- Topic: BBC MicroBit radio send/receive - data packet is not a string?
- Replies: 11
- Views: 13077
Re: BBC MicroBit radio send/receive - data packet is not a string?
I had a play with it and got it working just right for me by adding sleep(50) to both the controller and driver code. I found I had to add a sleep to both codes to get the desired result. :D Thanks for all your help. _____CONTROLLER_____ from microbit import * import radio radio.on() while True: rea...
- Wed Oct 12, 2016 5:59 am
- Forum: micro:bit boards
- Topic: BBC MicroBit radio send/receive - data packet is not a string?
- Replies: 11
- Views: 13077
Re: BBC MicroBit radio send/receive - data packet is not a string?
Good work. Thank you. I will try that when I get back from work tonight. I think I tried some sleep commands in the driver code but it didn't solve the problem. I didn't think to add them to the sending code as you suggest. It will be really great to get this working for the kids on Thursday. Thanks...
- Tue Oct 11, 2016 7:35 pm
- Forum: micro:bit boards
- Topic: BBC MicroBit radio send/receive - data packet is not a string?
- Replies: 11
- Views: 13077
Re: BBC MicroBit radio send/receive - data packet is not a string?
Thanks for the reply. Always get the same message. I started using forward, backwards, left and right. When this didn't work I Shortened it as shown in code. Also tried numbers. Also tried Send_bytes and receive_bytes. Same error msg every time.
- Mon Oct 10, 2016 11:41 pm
- Forum: micro:bit boards
- Topic: BBC MicroBit radio send/receive - data packet is not a string?
- Replies: 11
- Views: 13077
BBC MicroBit radio send/receive - data packet is not a string?
Evening all, I am trying to get a seemingly simple remote control car project to work with 2 Microbits but keep getting the same error message. The controller code measures which way the controller is being tilted and sends out a f,b,l or r message to the motor board. The controller code seems to wo...