-
Notifications
You must be signed in to change notification settings - Fork 789
adding code for the alphanumeric countdown clock #2340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Adding code for the alphanumeric countdown clock
looks like it's failing here on CI:
which is this file in the Wire library: https://github.com/adafruit/Adafruit_Arduino_Boards/blob/master/libraries/Wire/USI_TWI_Master.cpp |
I think the actual error is "error: 'SPI' was not declared in this scope":
The other says "warning:" so it should not stop or fail the build process. |
The CI was set to test for Gemma when it's a Trinket guide. So that's been
changed but waiting for CI
…On Tue, Nov 29, 2022 at 10:28 AM Jeff Epler ***@***.***> wrote:
I think the actual error is "error: 'SPI' was not declared in this scope":
Used library Version Path
Adafruit LiquidCrystal 2.0.0 /home/runner/Arduino/libraries/Adafruit_LiquidCrystal
Adafruit MCP23017 Arduino Library 2.2.0 /home/runner/Arduino/libraries/Adafruit_MCP23017_Arduino_Library
Adafruit BusIO 1.14.1 /home/runner/Arduino/libraries/Adafruit_BusIO
Wire 1.0 /home/runner/.arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire
Used platform Version Path
adafruit:avr 1.4.15 /home/runner/.arduino15/packages/adafruit/hardware/avr/1.4.15
arduino:avr 1.8.6 /home/runner/.arduino15/packages/arduino/hardware/avr/1.8.6
In file included from /home/runner/Arduino/libraries/Adafruit_MCP23017_Arduino_Library/src/Adafruit_MCP23X08.h:8:0,
from /home/runner/Arduino/libraries/Adafruit_LiquidCrystal/Adafruit_LiquidCrystal.h:9,
from /home/runner/work/Adafruit_Learning_System_Guides/Adafruit_Learning_System_Guides/Trinket_Ultrasonic_Rangefinder/Trinket_Ultrasonic_Rangefinder.ino:30:
/home/runner/Arduino/libraries/Adafruit_MCP23017_Arduino_Library/src/Adafruit_MCP23XXX.h:44:54: error: 'SPI' was not declared in this scope
bool begin_SPI(uint8_t cs_pin, SPIClass *theSPI = &SPI,
^~~
/home/runner/Arduino/libraries/Adafruit_MCP23017_Arduino_Library/src/Adafruit_MCP23XXX.h:44:54: note: suggested alternative: 'SPH'
bool begin_SPI(uint8_t cs_pin, SPIClass *theSPI = &SPI,
^~~
SPH
Multiple libraries were found for "Wire.h"
Used: /home/runner/.arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire
Not used: /home/runner/.arduino15/packages/arduino/hardware/avr/1.8.6/libraries/Wire
The other says "warning:" so it should not stop or fail the build process.
—
Reply to this email directly, view it on GitHub
<#2340 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOSY4B7QSR72XMKG2I2IDTWKYOJ3ANCNFSM6AAAAAASOQJOWE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
.com>
--
Anne Barela (she/her)
Engineer, Adafruit Industries
***@***.***
|
@caternuson do you have a moment to take a look at this? It looks like the library always expects 'SPI' to be available, but https://github.com/adafruit/Adafruit_BusIO/blob/master/Adafruit_SPIDevice.h doesn't define SPI if SPI_INTERFACES_COUNT is zero or undefined. However, this is not a recent change, so not sure why it didn't come up before now. |
It's because of this: For now, to get this PR to pass CI, suggest adding a |
great, thanks @caternuson ! i'll add that |
Skip files can be picky. I suggest cancelling this PR and put in a new one with the exact current files. |
going to be trying with a new PR to include the skip on initial commit |
Adding code for the alphanumeric countdown clock. Uses three alphanumeric displays with a qt py esp32-s2. gets the time from adafruit IO and compares it to the time set for the event at the top of the code.