@felmue
Followup
I discovered this problem is only if you are using pins in source mode.
In sink mode they behave as you said.
My bad thanks for your help
Posts made by ToughBJH
-
RE: M5 Dial Port B both Pins needed to be outputs
-
RE: M5 Dial Port B both Pins needed to be outputs
@felmue
Thanks for your reply's
I am thinking- Buy a m5stamp s3 and try that
- Wait for new batch of dials buy one see if thats different
- Figure out how to use the idf (not likely)
Thanks for getting back to me so quickly
-
RE: M5 Dial Port B both Pins needed to be outputs
@felmue
I tried your program thanks
i changed pin 1 23-400 and 400 - 23
and both pins follow pin 1I erased and burned 2.0.4 hotfix twice
I checked it with thonny and it says its still at 2.0.3
MPY: soft reboot_ __ _
_ ()/ | | _____ __
| | | | | || |/ _ \ \ /\ / /
| || | | | | () \ V V /
_,||| ||___/ _/_/ 2.0.3[INFO] Syncing resources...
[WARN] WiFi not connected.
[WARN] quit sync.
MicroPython v1.22.0-dirty on 2024-04-16; M5STACK Dial with ESP32-S3-FN8Type "help()" for more information.
-
RE: M5 Dial Port B both Pins needed to be outputs
@felmue
Thanks
I find that pin 2 follows pin 1 with scope
try setting the duty cycle of pin 1 and watch pin 2
setting duty cycle of pin 2 does nothing
simpler test
put led load with 330 ohm resistor on each pin and timer for each at different times
pin 2 led never lights but on scope it toggles 0- -3.3 volts
I have 2 units and both do this is something wrong in the pin map set with idf? -
M5 Dial Port B both Pins needed to be outputs
I am trying to use Port B (Black Port) G1 and G2 as PWM and direction outputs
Both UIflow 2.0.3 and arduino don't seem to make Pin 2 as output but no warnings
I have read the documentation of S3 and I see no reason that both pins cannot be outputs
I know on Tough one of the pins could only be input but i see no reason for this on s3
What am i missing