Skip to content

Our thoughts on science

Just another WordPress site

Month: August 2022

micro:bit basic data logging 2

Second program to write text to a file and read the contents of the file, It has been written as I could not find an easy example of writing and reading to a file with the micro:bit. This is an extension to the first program about logging data. This program stores real time data (the… Continue reading micro:bit basic data logging 2

Published 21 August 2022
Categorised as coding, Microbit, python Tagged Coding, Microbit, Python

micro:bit basic data logging 1

This is a first program to write text to a file and read the contents of the file again There are three parts to writing data to file:– opening the file– writing data– closing the file afterwards Line 3: opening the file The ‘open’ commands says open a file with name “storm.txt”; the w indicates… Continue reading micro:bit basic data logging 1

Published 21 August 2022
Categorised as coding, Microbit, python Tagged Coding, Microbit, Python

Recent Posts

  • Chat GPT – AI Chatbot
  • Reading micro:bit files from a laptop
  • micro:bit basic data logging 3
  • micro:bit basic data logging 2
  • micro:bit basic data logging 1

Recent Comments

    Archives

    • January 2023
    • September 2022
    • August 2022
    • September 2021
    • August 2021
    • July 2021
    • April 2021
    • January 2021
    • December 2020

    Categories

    • accelerometer
    • coding
    • Microbit
    • python
    • Uncategorised

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Our thoughts on science
    Proudly powered by WordPress.