Hi, I loaded the SoftPWM_Arduino_LED_Blink example and it fails to compile:
In addition, it says "multiple libraries found" but the one it apparently used is also the only one I can find: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SoftPWM
This is on macOS 10.14.6 with Arduino 1.8.10 and Teensyduino 1.48. I successfully loaded and ran the basic Blink example before this.
Code:
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SoftPWM/SoftPWM.cpp: In function 'void SoftPWMSet(int8_t, uint8_t, uint8_t)':
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SoftPWM/SoftPWM.cpp:247:42: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment
_softpwm_channels[firstfree].outport = portOutputRegister(digitalPinToPort(pin));
^
In addition, it says "multiple libraries found" but the one it apparently used is also the only one I can find: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SoftPWM
This is on macOS 10.14.6 with Arduino 1.8.10 and Teensyduino 1.48. I successfully loaded and ran the basic Blink example before this.