We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi. I'm trying to connect my BBC Micro:bit to Processing using serial. I'm not having any luck... Can someone send me some example code please or tell me how to connect it. Thank you.
Answers
Please don't post duplicates
Or triplicates
Sorry... i'm just desperate for the answer
@Mantas_Gigantas Hi, Serial comms has a number of choices, and there isn't one right way. You might like to try this:
See https://microbit.co.uk/td/serial-library I suggest you use the 'Alternative...putty' That will let you see on PC what your Microbit is printing out.
In Processing, Examples, Libraries, Serial, SimpleRead. Use that example, and add print statements to print out what the Microbit sent. Now your Processing has the text from Microbit and you can do what you want with it.
Richard.
Thanks RichardDL