adafruit / Adafruit_Seesaw

Arduino library driver for seesaw multi-use chip
93 stars 64 forks source link

see_saw library doesn't compile for Arduino Nano ESP32 #97

Closed steffenmarkkus closed 5 months ago

steffenmarkkus commented 7 months ago

Copyright © 2024 Arduino SA

1) Installed Adafruit SeeSaw Library ver 1.7.5 2) Connect 1x4 encoder to SDA/SCL, pins a4, a5, and to power and ground 3) Load and compile LEDArcade_1x4.ino

Compiler responds with the following:

In file included from /private/var/folders/n3/wpnkdym15vv8970_qdlwknvw0000gn/T/.arduinoIDE-unsaved2024215-50002-16ik41b.sypz/LEDArcade_1x4/LEDArcade_1x4.ino:5: /Users/srosemer/Documents/Arduino/libraries/Adafruit_seesaw_Library/Adafruit_seesaw.h:253:74: error: macro "analogWrite" passed 3 arguments, but takes just 2 virtual void analogWrite(uint8_t pin, uint16_t value, uint8_t width = 8); ^ exit status 1

caternuson commented 7 months ago

This is a known issue with the ESP32 Arduino Board Support Package: https://github.com/espressif/arduino-esp32/issues/9150

There's a suggested work around here (see "easy out" way): https://github.com/espressif/arduino-esp32/issues/9150#issuecomment-1903804980

steffenmarkkus commented 7 months ago

Thanks Carter, that seems to do the trick.

Steve SteffenMarkkus Specialty Roasters (424) 308-5187

On Sat, Mar 16, 2024 at 7:30 AM Carter Nelson @.***> wrote:

This is a known issue with the ESP32 Arduino Board Support Package: espressif/arduino-esp32#9150 https://github.com/espressif/arduino-esp32/issues/9150

There's a suggested work around here (see "easy out" way): espressif/arduino-esp32#9150 (comment) https://github.com/espressif/arduino-esp32/issues/9150#issuecomment-1903804980

— Reply to this email directly, view it on GitHub https://github.com/adafruit/Adafruit_Seesaw/issues/97#issuecomment-2002003754, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFVLIWTTYAGDSMRYGRKUWJLYYRJO5AVCNFSM6AAAAABEY6R7MCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGAYDGNZVGQ . You are receiving this because you authored the thread.Message ID: @.***>