Open facchinm opened 3 years ago
So do the min and max values invert? Or is the entire scale inverted?
Also is there an up to date pinout for the breakout board
@jonwhick only min and max values are inverted. For the pin mapping you can check this table https://github.com/arduino-libraries/Arduino_PortentaBreakout#peripherals-table
On Portenta H7, writing
analogWrite(3, 255)
results in a signal with 0% duty cycle, whileanalogWrite(3, 0)
is 100%analogWrite(3, n)
, on the other hand, has exactly the expected duty (n/256)See https://github.com/arduino/ArduinoCore-mbed/issues/351#issuecomment-947423777