Hi,
I'm new on the forum. I try to set attrute Pin.X_POWER (X: LOW, MED & HIGH) but get this error: type object 'Pin' has no attribute 'X_POWER'. I use latest FW esp32-idf3-20200329-v1.12-317-g688323307.bin on ES-WROOM-32D and try with different pins (2,4 & 22).
Here is sample code:
from machine import Pin
io_22 = Pin(22, Pin.OUT) => Sucess
io_22 = Pin(22, Pin.OUT) , Pin.HIGH_POWER) => Fail
Any advice or some of you have sucessfully contol IO drive level ?
Thank you,
Brice.
class Pin – control I/O pins (Drive level)
-
- Posts: 2
- Joined: Sun Mar 29, 2020 2:38 am
Re: class Pin – control I/O pins (Drive level)
Hi,
The drive level options are specific to the WiPy (CC3200) port. No other ports use them.
The drive level options are specific to the WiPy (CC3200) port. No other ports use them.
-
- Posts: 2
- Joined: Sun Mar 29, 2020 2:38 am
Re: class Pin – control I/O pins (Drive level)
Thank you Jimmo,
More clear now... implemented for TI mcu board.
Brice.
More clear now... implemented for TI mcu board.
Brice.