A library is a file that can be included into the code to add new instructions by combining many existing instructions and creating one easy to use instruction to call.
0
votes
0answers
23 views
Is there a lean or modular SD library?
I'm using the SD library to perform two simple tasks.
reading a configuration file
writing a logfile
I don't want to use subdirectories and can live with only two filenames. However, after ...
0
votes
0answers
28 views
Does anyone know a library that can emulate 3 throttles?
There is this library, but it emulates only one throttle and one rudder. The X Y Z axis don't work because they are addressed from -127 to 127 and I need 0 to 255. I just need one more throttle axis. ...
0
votes
1answer
18 views
Basic usage of Nick Gammon's Regexp library
I am using the following code modified from the examples. I get the count of matches but the actual value is not displayed
#include <Regexp.h>
void setup() {
Serial.begin(115200);
...
2
votes
1answer
154 views
WARNING: Category '' in library *any library* is not valid. Setting to 'Uncategorized'
I'm using Ubuntu 14.04 with arduino Galileo and the newest arduino IDE from arduino.cc and every time I compile I got this warnings with any library in place of EEPROM, SD, Wire, Wifi and a lot of ...
0
votes
0answers
63 views
Software Serial library not working in Arduino
In an Arduino project I am not able to compile some code that uses the SoftwareSerial library. I get the following compilation errors. How do I correct the code?
C:\Program Files ...
3
votes
0answers
44 views
Creating a library for attiny85 out of working program
Apologies if this is the wrong sub-forum, the involvement of ATTiny and arduino places this into a strange category. Please correct me if I should post elsewhere.
It is important for this to be a ...
0
votes
0answers
14 views
How to drive a 4bit GLCD?
i've got a huge (about 6 x 23 cm) graphics LCD. I used my multimeter and the datasheet the LCD driver chips (6 x KS0104 and 2 x KS0103) to get the pinout. It has the following pins: GND, M, FCS (not ...
0
votes
1answer
66 views
NTP Client Library. Set sync provider pointing to public class function. Possible?
I am trying to develop a NTP client library for ESP8266/Arduino to make adding NTP sync an easier task.
Basically, I've thought about a constructor as NTPClient(String host, int interval); and a ...
0
votes
0answers
40 views
How to add .h file to ino
I'm using the arduino along with a Raspberry pi. For this, I'm using ino to compile sketches through the command line. I now want to use the adafruit motor shield along with my arduino. This requires ...
0
votes
1answer
26 views
Can I increase the 10 event limit in Simon Monk's Timer library?
On Dr. Monk's library page here, he states: "You can attach up to 10 events to a timer." I am wondering if this is a hardware limit, or if it was an arbitrary number he chose for his library.
In ...
0
votes
1answer
59 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 ...
0
votes
2answers
33 views
How to install a library for a single project
How do you install an Arduino library so it's only available for a specific project?
Say I have a codebase located at /myproject, and I want to install libraries at /myproject/lib/somelib. I can't ...
1
vote
2answers
90 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 ...
0
votes
0answers
17 views
Modbus loopback test
I am using Simplemodbus library with arduino Uno board. I have used below code with 5 device with different slave ID. The Indivually these slaves are working fine. Now I am trying to connect it in ...
0
votes
2answers
170 views
Sending and receiving custom messages with Ardulink
I am sending custom code to Arduino with this ardulink command:
{ ArduinoControl.link.sendCustomMessage("oled");
}
Code from standard Ardulink sketch CustomMessagesChipKit.ino:
{
if ...
1
vote
1answer
60 views
Why can't I include a library in another one?
I am trying to create a new library that uses another existing library.
The original library declares a way to create an object called Multiserial that can be created in the main file and the program ...
0
votes
2answers
81 views
Serial Communication Problem Using Eclipse
Please help
I have created an Arduino program that will switch the pins when I send a char. It works fine with serial monitor, but the problems come when I send chars with Eclipse using RXTX serial ...
3
votes
1answer
579 views
ESP8266 & websockets
At the moment, I'm using various operating systems and devices like the Raspberry pi to control lights and other stuff over websockets. I use websockets since they added the support on Chrome. I write ...
1
vote
2answers
38 views
Is it possible to package a sketch with dependent libraries for cross-platform compatibility?
I have a complex sketch that I spent many weeks working on, which I am backing up frequently because I'm afraid of losing any of my progress.
I'm wondering if it's common practice to make a ...
0
votes
1answer
38 views
Find which WiFi device quiries a network?
1) What additional hardware sensors will be required for it?
2) What software components one shall develop to capture devices broadcasted network names?
Looking at WiFi library can not get what one ...
0
votes
1answer
27 views
Using a library of sleeping with a combination of the WD and a physical INTERRUPT
I would like to use one of the nice libraries like :
JEELIB
ENERLIB
SLEEP_N0M1
NARCOLEPTIC
ADAFRUITSLEEPY_DOG
LOW_POWER_MASTER
But to use a X second interval of sleeping and in the same ...
0
votes
0answers
32 views
Teensy and MS5803 sensor
I'm trying to use the MS5803 pressure sensor with a Teensy 3.2. Compiling the Sparkfun, or other, libraries, however, results in no output.
Can you provide guidance on how to modify the libraries to ...
1
vote
1answer
46 views
Can I access individual pixels on my 16x2 LCD display
I have a generic 16x2 LCD display connected to my Arduino. I can use the standard LCD library to display characters, but are there way to turn on and of individual pixels?
0
votes
1answer
26 views
Problem assign float to an embed class within the Linked-list libary
I have successfully implemented some code which uses a linked-list. Everything is working, except assigning a value to a float within the embeded class. When I run the code below, I get the expected ...
0
votes
0answers
28 views
Is there any way to import libcoap into Arduino project?
I am currently playing with libcoap (https://libcoap.net) client-server architecture. I need directions importing libcoap into Arduino project. Or any other way to implement CoAP (constrained ...
0
votes
3answers
37 views
Problems with linking a library with a c program in linux
I am totally new to C and arduino. I want to run serial commands from a Bealgebone to a 4Dsystems display. Therefore I copied the c library found here into a directory and created a test program ...
0
votes
0answers
39 views
Modbus RS485 Comms Export Meter
I am attempting to communicate with an ABB electrical export meter with an Arduino Mega2560. I am using the SimpleModbusMaster library as found here : ...
0
votes
2answers
112 views
BH1750 Light sensor always giving output as 54612lx
urgently need some inputs,
Connection:
VCC-5v
GND-GND
SCL-SCL(analog pin 5)
SDA-SDA(analog pin 4)
ADD-NC or GND
Code pasted below
used library from GIT : https://github.com/claws/BH1750
#include ...
0
votes
0answers
48 views
AcceleroMMA7361 does not have a name type
I just imported this library and i can't figure out what's causing the problem!
Here is the error
This report would have more information with
"Show verbose output during compilation"
...
0
votes
1answer
75 views
Error in Arduino Library file
I am working on a project which includes Arduino and a fingerprint scanner. It is completely based on embedded system. But then, I have downloaded a library for the fingerprint scanner. When I run the ...
0
votes
1answer
34 views
A question about including libraries
I'm a beginner in creating my own libraries so the following might contain some stupid stuff.
Anyways, I'm using NRF24L01+ modules for wireless communication and I've been utilizing the magnificent ...
2
votes
0answers
84 views
Decoding IR codes with IR sensor rather than IR receiver module
I'm looking for a library to decode RAW IR signals from an IR sensor (looks like a black LED, two legged) rather than an IR module (3 legged, rated for a particular frequency - such as 38kHz).
Is ...
0
votes
1answer
39 views
Querying streaming sensor data on the Arduino board
I am new to Arduino and this forum, so please forgive me if I am asking something really trivial and stupid.
I have an Ardino board which collects sensor readings from a mpu6050 ...
0
votes
1answer
110 views
Integrating two Arduino Ethernet libraries in one sketch
I am trying to integrate two different Arduino Ethernet libraries, EtherShield and UIPEthernet in one sketch.
EtherShield library is used to control LEDs via Android mobile application. While ...
1
vote
2answers
35 views
Can I automatically loop inside a library?
I want to write a little library;
the unlibrarized functionality does:
checking in every loop-cycle some inputs,
doing some calculations with it
and finally setting a boolean to either true or false.
...
0
votes
2answers
57 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 ...
0
votes
0answers
231 views
NodeMCU build ESP8266
Anybody have a build of the NodeMCU firmware with the g8b SH1106 driver enabled? I can't find one anywhere and can't get the firmware to compile myself. (I know this isn't Arduino related per say but ...
1
vote
1answer
37 views
How to change the topic_name string to PROGMEM?
I'm trying to save SRAM on my Arduino pro mini by going through some libraries. I've noticed that to use my Arduino as a ROS node the library stores the topic name and message type as constants.
...
0
votes
1answer
110 views
undefined reference to `PPMintIn::PPMintIn(int)'
I am making a new library that will utilize PinChangeInt's library.
My intention is to further simplify repetitive code by creating a library. (This is to allow for multiple PPM channels without ...
0
votes
2answers
170 views
Pass a member function pointer to a method of a foreign class (EDB Lib)
I'm currently working on my own arduino library and I'm becoming exasperated with the following problem: I want to store data with the extended database library ...
1
vote
3answers
230 views
How to develop or edit an Arduino library?
I'm not sure if I should split this question in two.
I had to edit some libraries and I plan to make some myself but didn't try yet.
Editing a library seems very laborious comared to editing a ...
0
votes
1answer
57 views
Is the Arduino library so slow?
I have a plan to operate 5MP camera module with the arduino Due. But I wonder if I can use the arduino libraries that include digitalRead, digitalWrite and so on. But some people said that it is a bad ...
1
vote
1answer
91 views
CC3000 Wifi: Enable Debug
I am using the Adafruit_CC3000_Library. I've followed the WebClient.ino example sketch. I'm able to make 300-400 HTTP requests, but eventually the connection will hang. Thus, I'd like to debug.
...
0
votes
3answers
258 views
Adafruit DHT22 Library + Arduino Due not compiling?
i recently purchased a DHT22's and tried to get it to work using Adafruit's DHT library on Github.
When i compile it with a Arduino DUE, it gives me the following error:
...
1
vote
2answers
135 views
Existence of a non blocking and task yield framework for Arduino programming
I've been playing around with Arduino and understand that the standard runtime provides a single thread essentially.
I was wondering if it is possible to write a thin layer (library) that allows one ...
0
votes
0answers
61 views
Two identical functions, one works one doesn't. why?
I'm cross-posting this with the Arduino exchange because I'm not sure if it's a problem with my C or something else entirely.
I'm attempting to communicate over WiFi using the process library (Part ...
0
votes
1answer
42 views
Pass Several Values to Library
Unfortunately I have yet to learn C++ though I have experience with C# and other non-C languages. After trying for the past 5 hours to pick up what I can from Stack and other sites I haven't found a ...
2
votes
1answer
369 views
Updating MAX7456 library to work with Arduino 1.6.6
I've got this library for communicating with the MAX7456 chip.
The library is abandoned and the only one I found that actually works, so I'd really like to use it.
It compiles fine with Arduino ...
1
vote
1answer
117 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 ...
0
votes
0answers
110 views
Arduino can't find my custom library: fatal error, Motor.h not found etc
I have been working on a project building a robot and using my own custom-built libraries to control it. However after converting all my old code into libraries Arduino can't find them.
Everything ...