Pycom Expansion Board 2.0 Getting Started

Chris just shared a new tutorial: “Pycom Expansion Board 2.0 Getting Started”




Where do I start?
If you’re new to programming Python is a great place to start! I’ve seen Python taught to primary school age children and I have used Python in a Machine Intelligence course at university. It’s no wonder Pycom w…

Read more

Looks like micropython is based on python3? The print format mystifies me. I changed

return “{}-{:0>2d}-{:0>2d} {:0>2d}:{:0>2d}:{:0>2d}.{:0>6d} {}”.format(time[0], time[1], time[2], time[3], time[4], time[5], time[6], “GMT” if time[7] is None else time[7])

to

return “{}-{:0>2d}-{:0>2d} {:0>2d}:{:0>2d}:{:0>2d}.{:0>1d} {}”.format(time[0], time[1], time[2], time[3], time[4], time[5], time[6], “GMT” if time[7] is None else time[7])

but I still get 6 decimal places worth of seconds.