Blog 4 - Micro: Bit to MQTT Codebase & IFTTT
Monday class 4/03/24 Got MQTT working with android Hotspot The class also had trouble looking at data that was being printed to the makecode website because JSON messages would cut off or lose characters. In order to get around this Putty was used to view the serial comms. In order to see this data at a faster rate than the web browser the Serial option of putty has to be selected along with two other variables: The comm port the Micro bit is on. This can be found by going into windows "device manager" and selecting the ports drop-down menu in this instance it is USB Serial Device (COM12). Speed/baud rate being changed to match the clock of the micro bit, in this case it is 115200. [1] Example setup Once this PuTTY is configured correctly you can start a new serial window and watch as the Microbit serial writes data. Rotation data being serially printed in PuTTY Monday Class 11/03/24 New features: Made Functions to reduce code quantity. I Reduced the amount of repeat...