We’re rewarding the question askers & reputations are being recalculated! Read more.

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1
votes
3answers
173 views

How to generate .a and .so files to add in arduino project

I know to make a library on arduino ide with source codes, but I cant send my source code to another users who want to use my lib. So I need to make a library with precompiled=true info at library....
0
votes
1answer
76 views

Problem with SPI when using rf24 NRF24L01 transceiver with LED matrix MD_MAX72xx

I am currently using Arduino Mega to use a LED matrix and a NRF24L01 transceiver. for LED matrix, I use MD_MAX72xx library. While for the transceiver I use the RF24 library. I am already able to ...
-1
votes
2answers
34 views

Error compiling a sketch to class/library conversion

I'm trying to take a sketch and turn it into a class for a library I'm making, but I'm getting compile issues. This is not a duplicate as suggested. as i explain in the comment and my answer. Thank ...
0
votes
2answers
109 views

ESP8266 library: 2 requests received instead of 1

I have a strange issue with my sketch using WiFiEsp.h library from https://github.com/bportaluri/WiFiEsp When i send 1 request to my ESP8266 from my browser as http://192.168.0.25 , it seems that my ...
0
votes
3answers
44 views

Iteed SD card breakout info for Arduino

I got an SD card breakout from an online shop, its the iteed kind without the level shifter, it has the 3.3 / 5 V switch. I cannot find any libraries or write example for it. Has anyone dealt with it ...
0
votes
1answer
34 views

How to Create a reference to an External Print object

Right now I have an object: class Dog { public: Dog(uint8_t I2c, Stream& feedback); void Speak(); private: uint8_t _I2c; Stream& _output; }; Dog::Dog(uint8_t I2c, Stream&...
0
votes
2answers
302 views

Error trying to compile an example from newly added Arduino menu library

I added the ArduinoMenu library https://github.com/neu-rah/ArduinoMenu and when I try to compile one of the examples, I get following error. Using library LiquidCrystal at version 1.0.5 in folder: ...
2
votes
1answer
177 views

Is there a counter library in Arduino?

I'm looking for a counter that can be incremented and will overflow with predictable behavior, preferably reset to 0 on overflow. I've tried using integers for counting but I'm getting weird overflow ...
1
vote
0answers
238 views

Ethernet module ENC28C60 doesn't connect to internet when DHCP on router is disabled.

Update: Examples from library are working if DHCP is enabled! Using this library I try to connect with static IP but it always say DNS failed. Ethernet module is blinking that means is good ...
0
votes
1answer
1k views

How to use different device address for MCP23017 so I can use multiple chips?

I want to use more than 3 MCP23017-E/SP DIP28 chips so I can use many digital pins. I use Adafruit-MCP23017-Arduino-Library. I tried this solution but only device address with 0x00 is working. The ...
0
votes
1answer
338 views

Perform function after a period of time

I am working on a project that I am supplying with voltage an LED through a digital pin (26) and I want the LED to be switched off after 4 seconds. I am using Arduino Mega2560 and I am programming it ...
0
votes
1answer
911 views

Why does servo library conflict with irremote?

I am building an Arduino Mega robot. I am planning to use IRremote.h library for it. I am using multiple libraries in my code and I do not know which timers are taken. I always get errors when ...
0
votes
0answers
483 views

Arduino Mega And L298N Motor Driver Board (Controlling using AccelStepper Library)

Can someone help me how to use AccelStepper library in setting the origin position of the stepper? We are using a tact switch and an L298N driver for the stepper motor in setting the origin of the ...
1
vote
2answers
908 views

How to avoid delays in the loop() function?

vI have this functions in my loop() and it publishes temperature reading to Ubidots(an IoT cloud service) using the #include library but it seems it returns a boolean and so the loop is delayed until ...
1
vote
1answer
2k views

Migrating from ATMega2560 to ARM based — Teensy vs Due?

I currently have a project that is working on an AtMega2560 platform (heavily derived off the Arduino Mega). It mainly involves a GPS module and SD card. Going forward I am looking to add a few more ...
1
vote
2answers
6k views

Problems with Draw Loop using u8glib

I am using an Arduino Mega and a 12864ZW LCD with the u8glib library and the following code to draw to the LCD: U8GLIB_ST7920_128X64 Display(LCD_E_PIN, LCD_RW_PIN, LCD_RS_PIN, U8G_PIN_NONE); void ...
1
vote
1answer
1k views

Using union to return a range of bits from a data frame: wrong approach?

I'm working on an adaptation of Jason Leyrer's Guitar Hero Library for Arduino. My version is for a DJ Hero controller, and I've also borrowed some code from this Arduino forum thread: topic=120527 (...
1
vote
2answers
791 views

error: 'CLASS' does not name a type only when creating object inside another object

I'm trying to use Adafruit's LED Backpack library within a custom class. When I use the Adafruit library directly within a sketch, it compiles fine. When I use an example sketch provided with the ...
1
vote
1answer
3k views

Using multiple timers and avoiding conflicts

I would like to use three timers in CTC mode to launch three Interrupt Service Routines at different frequencies. In this application I need to use the servo library, millis() and micros() functions....