what is the clock speed on a microbit

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
Post Reply
rhubarbdog
Posts: 168
Joined: Tue Nov 07, 2017 11:45 pm

what is the clock speed on a microbit

Post by rhubarbdog » Sat May 12, 2018 7:24 am

I have written a module to read an AOSONG am2320 temperature and humidity sensor using a 1 wire protocol on the raspberry pi and i have it working. I have translated it into microbit code the problem is when i collect the data i'm only getting a few bits (approx 3) spread over 100-120 readings when i run the corresponding code on my raspberry pi i get 38-40 bits (out of a possibe 40) spread over >1000 readings. The code is running in a while True: loop with no sleep why is performance so poor

Post Reply