-
Notifications
You must be signed in to change notification settings - Fork 75
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
My IDE shows, "Error compiling" when trying to verifiy my code. #11
Comments
I am having a similar issue although this one pertains to the TrinketFakeUsbSerial library. I use the exact same demo code displayed in the tutorial however I receive this error: In file included from C:\Users\Mark\Documents\Arduino\libraries\TrinketFakeUsbSerial\usbdrvasm_includer.S:24:0: define __SFR_OFFSET 0x20^ include "usbdrvasm16.inc"
compilation terminated. |
I also had this error for the TrinketFakeUsbSerial library. Seems that only the usbdravasm165.inc file is included in the package. Downloaded the file from https://raw.githubusercontent.com/digistump/DigisparkArduinoIntegration/master/libraries/DigisparkKeyboard/usbdrvasm16.inc However, now I get:
|
Hmmm... are you using the Pro Trinket or just the regular Trinket? If you're using the pro, you have to actually use FTDI. That was my problem, don't know if it's yours too. |
Hi, Thanks! Yes, I also found that it worked using the trinket and not with the trinket pro. Thanks for the FTDI tip. |
@Pastyguy Looks like you haven't installed the library correctly. Make sure there is a TrinketMouse directory in your libraries directory. README.md mentions this very briefly. A more detailed explanation can be found here: https://www.arduino.cc/en/Guide/Libraries#toc5 |
I downloaded the library and try to run it, and did not make any changes in the code. C:\Program Files (x86)\Arduino\libraries\TrinketHidCombo\usbdrv/asmcommon.inc:98: Error: constant value required C:\Program Files (x86)\Arduino\libraries\TrinketHidCombo\usbdrv/asmcommon.inc:43: Error: invalid operands (ABS and UND sections) for `<<' C:\Program Files (x86)\Arduino\libraries\TrinketHidCombo\usbdrv/asmcommon.inc:59: Error: invalid operands (ABS and UND sections) for `<<' C:\Program Files (x86)\Arduino\libraries\TrinketHidCombo\usbdrv/usbdrvasm16.inc:332: Error: invalid operands (ABS and UND sections) for `<<' Id really appreciate the help |
Did you manage to find the solution?
|
I'm using the trinket to as a keyboard(trying to at least), but my problem is just with the IDE. I try to install the the library by sketch>inlcude library>add .zip then returns all clear.
Problem occures when i try to varifiey the code it, and it returns with this error message
"Arduino: 1.6.4 (Windows 7), Board: "Adafruit Trinket 8MHz"
Build options changed, rebuilding all
TrinketKeyboardExample.ino:6:29: fatal error: TrinketKeyboard.h: No such file or directory
compilation terminated.
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
"
My code from the library im trying to load.
"
/*
TrinketKeyboard example
For Trinket by Adafruit Industries
*/
"
Id really appreciate the help. Thanks!
The text was updated successfully, but these errors were encountered: