New answers tagged

-1

When you install your Arduino, 3 locations are used for your libraries: Installation folder Personal folder Boards folder Installation folder This is the location where you installed Arduino. Normally they are: On Windows: %ProgramFilesDir%\Arduino\libraries On Linux: /home/{USERNAME}/arduino-{VER}/libraries There, you can find 5-10 base libraries. ...


0

You can assign the pointer to NULL, and in the setup function give it a value. Note you have to add () for the arguments, even if there are none like in this case. Also you have to include the library (but probably you did but not added in your question). #include "Adafruit_NeoPixel.h" Adafruit_NeoPixel* pixels = NULL; void setup() { pixels = new ...


0

You can't with that library. The author has not provided any public methods that will do the job. There are private methods (segmentOn and segmentOff) that might be usable, but you would have to modify the library to be able to access them.


0

to reverse the direction try passing negative speed value to speed like stepper2.setSpeed(-300);


6

Almost. Fork the library to your account Check out your fork Edit as needed Commit locally Push back to your fork Your fork is yours to do with as you wish. Github makes it easy, should you wish, to then pass those changes back up to the original repository (make a "pull request"). But you don't have to do that (and probably don't want to). You can make a ...


2

Creating a copy of the include file in sketch folder will not work. At library compilation the source files of sketch are not included. The "" for include is "search first in the same folder as the including file". The project in the description of use of uip-conf.h is UIPEthernet. It includes the UIP library by Adam Dunkels and configures it with this file....


0

First this should be like this: float* values= mq2.read(false); //false and then write this to be printed in the serial monitor Serial.print('\n'); Serial.print("LPG:"); Serial.print(lpg); Serial.print(" CO:"); Serial.print(co); Serial.print('\n'); Serial.print("SMOKE:"); Serial.print(smoke); Serial.print(" PPM"); Serial.print('\n');


0

If you don't use the functions of the ImageReader library, which use the additional libraries, your compiled code will not contain code from the additional libraries. The Adafruit ImageReader library may have functions which use other libraries and the libraries are required for compilation. But at linking the compiled units which are not used by your code ...


0

Change io 13 to (suggestion) 10 and attach led + 1k resister to io 10. 13 seems to be in use. Also No line end in Serial.


Top 50 recent answers are included