Skip to content
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

Does not work with Arduino Leonardo #23

Open
fzdm2022 opened this issue Jul 15, 2024 · 0 comments
Open

Does not work with Arduino Leonardo #23

fzdm2022 opened this issue Jul 15, 2024 · 0 comments

Comments

@fzdm2022
Copy link

In file included from /Users/nianhong/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/avr/include/avr/io.h:144:0,
from /Users/nianhong/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/avr/include/avr/pgmspace.h:90,
from /Users/nianhong/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino/Arduino.h:28,
from /private/var/folders/m6/ddn9ts_94dd12d97lfshv26w0000gp/T/arduino/sketches/D9CF787D9417E82BAD5A9D028C83BD45/sketch/basics.ino.cpp:1:
/Users/nianhong/Documents/Arduino/libraries/ADS126X/src/definitions/ADS126X_definitions.h:418:13: error: expected unqualified-id before numeric constant
uint8_t DAT0:1; /*!< bit 0 GPIO[0] Pin Data /
^
/Users/nianhong/Documents/Arduino/libraries/ADS126X/src/definitions/ADS126X_definitions.h:419:13: error: expected unqualified-id before numeric constant
uint8_t DAT1:1; /
!< bit 1 GPIO[1] Pin Data /
^
/Users/nianhong/Documents/Arduino/libraries/ADS126X/src/definitions/ADS126X_definitions.h:420:13: error: expected unqualified-id before numeric constant
uint8_t DAT2:1; /
!< bit 2 GPIO[2] Pin Data /
^
/Users/nianhong/Documents/Arduino/libraries/ADS126X/src/definitions/ADS126X_definitions.h:421:13: error: expected unqualified-id before numeric constant
uint8_t DAT3:1; /
!< bit 3 GPIO[3] Pin Data /
^
/Users/nianhong/Documents/Arduino/libraries/ADS126X/src/definitions/ADS126X_definitions.h:422:13: error: expected unqualified-id before numeric constant
uint8_t DAT4:1; /
!< bit 4 GPIO[4] Pin Data /
^
/Users/nianhong/Documents/Arduino/libraries/ADS126X/src/definitions/ADS126X_definitions.h:423:13: error: expected unqualified-id before numeric constant
uint8_t DAT5:1; /
!< bit 5 GPIO[5] Pin Data /
^
/Users/nianhong/Documents/Arduino/libraries/ADS126X/src/definitions/ADS126X_definitions.h:424:13: error: expected unqualified-id before numeric constant
uint8_t DAT6:1; /
!< bit 6 GPIO[6] Pin Data /
^
/Users/nianhong/Documents/Arduino/libraries/ADS126X/src/definitions/ADS126X_definitions.h:425:13: error: expected unqualified-id before numeric constant
uint8_t DAT7:1; /
!< bit 7 GPIO[7] Pin Data */
^

exit status 1

Compilation error: exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant