CircuitPython (a derivative of MicroPython) is designed to simplify experimentation and education on low-cost microcontrollers. It makes it easier than ever to get prototyping by requiring no upfront desktop software downloads.
Version 2.0.0 introduced a lot of features, among which were the
storage module (allows CircuitPython to save data to the internal filesystem) and
microcontroller.cpu.temperature object. So, let's put the two together and create a very tiny temperature logger!
2.0.0 was released September 12, 2017, so if you bought your board before or around that time there’s a good chance it needs updating. Download the update and follow the instructions on the 2.0.0 release page.
We'll be using an Adafruit Gemma M0 for this guide but any CircuitPython-capable device that uses the SAMD21 can run this code. If you are not using SAMD21 you will be missing the cpu temperature capability so just wire up an external temp sensor