I'm running a very basic code and I noticed 'Keypad' wasn't included in my library (written in black) so I downloaded it through the manager and it finally appeared in orange. But when trying to upload, it gave me the same message: 'Keypad: No such file or directory'.
My question is: why do I still have an error when 'Keypad' is in orange (I checked, it is showing in the library list)?
Thank you,
Joe
*
*
*
In addition,
I tried to erase it and click on it through Sketch --> Include --> Keypad and something weird shows:
first row: #include <Key.h> ('Key' written in black)
second row: #include <Keypad.h> ('Keypad' written in orange)
I don't know why the 'Key' shows up but hell now the error is on 'Key'
At this point I'm trying to find 'Key' in the library but I'm suspecting that's another problem for another time
When you encounter an error, you'll see a button on the right side of the orange bar "Copy error messages" in the Arduino IDE (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button..
In a forum reply here, click on the reply field.
Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
Press "Ctrl + V". This will paste the error between the code tags.
Move the cursor outside of the code tags before you add any additional text to your reply.
If the text exceeds the forum's 9000 character limit, save it to a .txt file and post it as an attachment. If you click the "Reply" button here, you will see an "Attachments and other settings" link that will allow you to make the attachment.
Arduino: 1.8.11 (Windows 10), Board: "Arduino Uno"
sketch_apr15a:1:10: error: Keypad.h: No such file or directory
compilation terminated.
exit status 1
Keypad.h: No such file or directory
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The colouring in yellow indicates that the IDE found it somewhere in a keywords.txt; it does not necessarily has to be in the one belonging to the Keypad library.