Hello:
I am trying to better understand the functionality of the Chipkit Max32 board with respect to the analogWrite command. I have been testing pins A4, A5, 21, 23, 44 and 45 using the anlogWrite function. I am testing each pin separately, i.e. one at a time. I have the pin connected to ground through a 180Ohm resistor and monitoring the voltage across the resistor using an oscilloscope. I am using the following code changing the pin number in the analogWrite for each pin:
void setup() {
Serial.begin(9600);
}
void loop() {
for (int i=0;i<256;i++){
analogWrite(4,