been away a while and came back to play and I'm confused as to which import I should use on the pyboard
import machine
or
import pyb
they both seem to do the same thing - are they the same thing?
machine or pyb
Re: machine or pyb
machine will become the new way forward, and pyb will eventually be deprecated.
Currently, for the pyboard I believe pyb is more complete than machine.
Currently, for the pyboard I believe pyb is more complete than machine.
-
- Posts: 70
- Joined: Wed Oct 14, 2015 5:07 pm
Re: machine or pyb
thanks dave, I can see that machine would be more generic across platforms.