Linked Questions
25 questions linked to/from Classes and objects: how many and which file types do I actually need to use them?
1
vote
1
answer
3k
views
Including libraries from header files sometimes doesn't work
I, once again have difficulties including libraries from code files other than my .ino file.
I have several .cpp and .h files in my project to keep it sorted and clean.
However one of my header ...
0
votes
2
answers
2k
views
Visual Micro without .ino files
I am using the visual micro extension for Visual Studio 2015. I would like to not use any .ino files since I'm trying to setup cppcheck which doesn't recogonize .cpp files, and its just what I'm used ...
0
votes
2
answers
2k
views
SoftwareSerial library
How do I rectify this error?
Clearly it says there is some error in the library, so how do I correct it?
C:\Program Files (x86)\Arduino\libraries\SoftwareSerial\SoftwareSerial.cpp:1: error: expected ...
0
votes
1
answer
2k
views
Library, instantiation of a class object
I am python experienced, an arduino noob, and absolutely no experience of C other than what has been forced upon me by arduino use.
I have just spent a day hammering google for the precise syntax of ...
1
vote
2
answers
1k
views
Arduino IDE not handling library code correctly?
The author of the PinChangeInt library and the EnableInterrupt library states at github:
When the PinChangeInt was in a .h and .cpp file, the Arduino IDE tried
to compile it twice. I have a ...
1
vote
3
answers
881
views
Is there a way to strip a library from all unused parts and defines, automatically?
Say you want to investigate part of the code you use from a rather large library, but it's buried between all kinds of #defines and classes etc, that you're never gonna use in your code.
Is there a ...
0
votes
1
answer
536
views
Inheritance: error in calling the constructor of the base class?
I want to write a library for the RGBDigit shield (http://rgbdigit.com/), which essentially is an Adafruit Neopixel strip, packed as a 7 segment display. The shield also has a DS3231 clock and an IR ...
1
vote
1
answer
255
views
Requesting references for learning about the upload process
I would like to know of references that discuss the process of uploading code onto an Arduino board. I have read this reference on hacking the Arduino and an outline of the build process. I also found ...
0
votes
1
answer
232
views
Compilling error not highlighting line in code
A newbe here. How come when I compile with an error I do not get the line or line number highlighted? I Get the errors just can't find where they are.
0
votes
1
answer
83
views
Why is char being "extended" to an int?
I know I'm missing something so simple here, but I can't figure it out.
If I do char letter = 'A'; then letter = letter << 8, letter = 0, as one should expect, since we are shifting the bits &...