I noticed the get_analog_period_microseconds method was not present on all the micro:bit pins, turns out it was only added to the MicroBitDigitalPin class definition, so this PR adds the method to MicroBitAnalogDigitalPin and MicroBitTouchPin as well.
I noticed the
get_analog_period_microseconds
method was not present on all the micro:bit pins, turns out it was only added to theMicroBitDigitalPin
class definition, so this PR adds the method toMicroBitAnalogDigitalPin
andMicroBitTouchPin
as well.