Closed Pomax closed 1 year ago
For me it works fine if:
After that it works like a charm.
Hi @kusnezow i am very new in the arduino world, i hgave tried your solution but i get other compilation errors, could you explain me how to manually define the extra compiler flags? Thank you very much
@kusnezow sounds like you may have a solution that can be turned into a PR so that other folks don't have to go through that and can just use the Arduino IDE's built-in "install this thing for me" =)
@Pomax @ricardocolonia I am sorry, I don't use the Arduino IDE. I am using the Arduino Framework through Platform.io and there you can add extra compiler Flags in the platformio.ini file (documented here: https://docs.platformio.org/en/stable/projectconf/section_env_build.html#scopes-scons-variables). Not sure how to achieve that in the Arduino IDE
I've published version 1.4.3. Soon Arduino's Library Manager will notice the new version and this problem will be a thing of the past.
sweet! Many thanks
Description
I tried running this with a Raspberry Pico using the "Arduino Mbed OS RP2040 (pico)" board setting, and got this error:
Every single pin on the Pico can be set as interrupt pin (See https://raspberrypi.github.io/pico-sdk-doxygen/group__hardware__irq.html, "Interrupt Numbers" section), so it's basically the ideal board for interrupt work, and having this library support it would be super useful.
Steps To Reproduce Problem
Hook up a Raspberry Pico, pick the above-mentioned board, have a sketch that purely consists of
#include <Encoder.h>
and hit compile.Hardware & Software
Board: Raspberry Pico Shields / modules used: none Arduino IDE version: 1.8.19 ~Teensyduino version (if using Teensy)~ Version info & package name (from Tools > Boards > Board Manager): BN: Raspberry Pi Pico, VID: 2e8a, PID: 00C0, SN:
Operating system & version: win10 pro x64
~Any other software or hardware?~
Arduino Sketch
Errors or Incorrect Output
See above