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
7 views
How to make a 433 scanner by SI4463? [duplicate]
I want to make a 433 scanner like this . But , I just know how to use RH_RF24.h to control SI4463. Although there is a function about RSSI in RH_RH24.h . But it is not suitable for scanner . So ,I ...
0
votes
2answers
35 views
Update custom library
I've recently made a custom library. Then, I've imported the library into the IDE via the add .zip library. Once I tried to compile the code, I've realised that I made a small typo. Once I changed the ...
4
votes
2answers
386 views
Which library to choose? <Wire.h> or “Wire.h”?
I know that in C++, to include a library, you either put the library name in <x> or "x". Now, I believe that this was because of a major change in the C++ language a some time ago.
Now, in ...
3
votes
0answers
28 views
Servo Driven Through Custom Library Not working Properly
I'm a little new to Arduino, but not to programming or electronics in general. I'm working on a library that will be more fleshed out later, but I'm having issues getting the basics working properly.
...
0
votes
0answers
30 views
Digispark / DigiKeyboard change keyboard layout
I'm trying to use the Digispark as a Rubber Ducky but the Digispark is only usable with the US laylout. German keyboard layout is QWERTZ. Some keys can be changed, like y and z, but if there are [ or ]...
1
vote
2answers
31 views
arduino not loading library
I am receiving a compilation error from
#include <HX711.h>
The error is
fatal error: HX711.h: No such file or directory
However, C:\Users\user\Documents\Arduino\libraries\HX711 is there ...
0
votes
0answers
10 views
Servo driver library
I have bought a servo driver from eBay (for $3).
It's not ada fruit, but I want to know whether ada fruit's servo driver library will work on it.
If it won't which library can I use?
0
votes
1answer
27 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
1answer
24 views
How to use setModemRegisters in RF24
The below picture is the introduction of setModemRegisters .
First: What is the mean of ModemConfig* config? I mean: how to write the parameter. Maybe just give a example, and it will be better if it'...
-1
votes
1answer
27 views
Speed of comunication by SI4463 under RH_RF24.h
As in this SO question, I use use a RH_RF24.h to control an SI4463. In RH_RF24, there is not anything about the speed of communication. I need the way to control the speed of communication. Because I ...
1
vote
1answer
20 views
RH_RF24_MAX_MESSAGE_LEN in RH_RF24.h
I use RH_RF24.h to control Si4463, and realize some simple communication between two Si4463 . But I don't know the mean of RH_RF24_MAX_MESSAGE_LEN in this example.
RH_RF24_MAX_MESSAGE_LEN is a ...
3
votes
1answer
66 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
27 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
28 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 ...
1
vote
1answer
28 views
Binary message formatter
I am currently developing an IoT device with arduino and i want to minimise the data payload. First i used json which is not very efficent in fixed messages (the format will always be the same). Then ...
0
votes
2answers
50 views
How to measure free RAM on an Arduino Due in Runtime?
I use this Library to measure my free RAM on a Mega in runtime. But this Library does not work on the Due.
0
votes
0answers
38 views
Is there an Arduino library that runs two microstepping stepper motors simultaneously?
I've tried to use the AccellStepper library and it works fine with multiple stepper motors as long as I'm not using microsteps, otherwise it runs very slowly... Every revolution with my motor takes ...
3
votes
1answer
28 views
Referencing local libraries from higher dir levels
How can I include libraries not contained in any direct subdirectories of a sketch, using the Arduino IDE?
I want my project structure to look like this:
Project
└> MCUa
└> MCUa.ino
└> ...
2
votes
1answer
55 views
Crosspack instead of Arduino IDE, how to include Arduino.h
I quit using the Arduino IDE, instead I am now using Crosspack via the command line on my Mac.
It is working totally fine. I use "make" to compile it, "make flash" to upload it to the Arduino.
This ...
0
votes
0answers
14 views
433M modules w. soldered 34.6cm antenna, first test
I'm doing a first tx/rx on a pair of modules, and some hams have alluded that they 'autoadjust' - since I've soldered halfwave antennas onto the modules, what's the optimal range for first tests? And ...
0
votes
1answer
30 views
how to get an unofficial WiFi Shield to work?
I just bought these two WiFi Shields -> http://www.ebay.de/itm/262525969091?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
As they arrived I put one of them onto my Arduino Uno R3 and ...
0
votes
1answer
12 views
Debugging my created Library - Error - request for member … which is of non-class type
This seems to be a very common error, I am struggling to understand what exactly the solution to this is. I am attaching everything, library files, code, and errors. If you have a moment, I need ...
0
votes
1answer
35 views
Creating a Library Help with errors
I am attempting to create a library out of an existing code to use inside of another code. To clarify, I have one code, I need to add the functionality of another code to. Instead of plopping the ...
0
votes
0answers
64 views
Standard GSM Library with TinySine GSM Shield (SIM 900)
Is that possible to use the Standard GSM Library with TinySine GSM shield without any modification ?
-1
votes
1answer
34 views
where to get Arduino WIFO101 library that supports WiFi.beginAP() on board MKR1000
The sketch example from page "Wifi.beginAP()" causes compiler error because the return values are not defined for -WL_AP_LISTENING or -WL_CONNECT_FAILED.
Board: Arduino MKR1000 WiFi
Compiler: ...
2
votes
2answers
91 views
producing sine wave variable in amplitude and frequency
How to produce a sine wave with variable frequency and variable amplitude?
I found a library to produce variable frequency called sinwave but not produce variable amplitude (I want -2V to 2V amplitude)...
0
votes
0answers
25 views
Trouble uploading code due to 'lack of storage'(?)
I've recently bought a Arduino Uno (so I'm a beginner with electronics :$) but I have trouble uploading any code using IDE. It keeps saying there's no storage and that it can't find the library. Does ...
0
votes
1answer
22 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
25 views
most effective ( progsize/speed ) SD card usage
I am making a project with several modules and libraries involved. I just tested the SD lib example, and got a binary at ~14KB - way too much. I'd like the SD bits to go below 8KB, since it's just ...
0
votes
1answer
46 views
do i need to also connect GND and 3.3v
I am trying to run this code:
https://github.com/miguelbalboa/rfid/blob/master/examples/ReadNUID/ReadNUID.ino
Using an ESP8266 based D1 board and an RFID-RC522.
I am not able to get it to detect the ...
0
votes
0answers
93 views
Sound module WT588D-28P Library Development
I have a WT588d-28p 32M sound module that is currently using a WT588D-16P library.
I do not have the expertise to modifie the 16P library up to a 28P version, but I have accumulated a large amount of ...
0
votes
2answers
44 views
arduino ethernet run php from sd card
I am just interested, but I would like to run a webpage with php on my arduino ethernet. I would like to be able to store my webpage on the sd card as well.
does anyone know of a library that would ...
0
votes
1answer
53 views
Missing Libraries make no sense
I've never much issue importing a library to my master sketchbook location, restarting Arduino, then using the library examples. Today is a different story:
I'm loading RCLib which is part of this ...
0
votes
1answer
109 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
83 views
set up clion for arduino
i would like to configure clion (2016.1.3) to use with arduino plugin (github.com/francoiscampbell/CLionArduinoPlugin), on windows 10.
i have followed this instructable: Setup-JetBrains-Clion-for-...
-1
votes
1answer
88 views
Programming Arduino With Python [duplicate]
Im a beginner working with arduino.
Im little familliar with java syn and its not hard for me to do the work with ide ;but i know python better....is there any Lib that let you program Arduino with ...
4
votes
1answer
145 views
Single #include pulls in all libraries
I am tracking down the memory usage of an Arduino-like project I am working on (not a real Arduino, but has same microcontroller and it uses the Arduino build environment, version 1.6.8). I have some ...
0
votes
0answers
18 views
Same code! After I upload it. It was an error. avrdude: stk500v2_getsync(): timeout (something like that [duplicate]
int buttonPinvoid
setup (){
beginSerial(9600);
pinMode (buttonPin, INPUT);
}
void loop (){
if(digitalRead(buttonPin)==HIGH) serialWrite('H');
else serialwrite('L');
delay(1000);
}
0
votes
1answer
77 views
'serialWrite' was not declared in this scope
Please help me! Once I click the upload button.
I get the following error:
'serialWrite' was not declared in this scope
Here is my code:
int buttonPin
void setup ()
{
beginSerial(9600);
pinMode (...
1
vote
1answer
117 views
How can I include examples in library?
I have written a library for Arduino, my_library, consisting of my_library.h and my_library.cpp, both included in my_library folder. Actually the library is recognized from IDE Arduino and works fine.
...
0
votes
1answer
33 views
Passing array to library function
I'm trying to pass an array to a library (written in c++) but the error:
undefined reference to `MyLib::arrayTest(int*)'
collect2: error: ld returned 1 exit status
Error compiling.
Is being produced....
4
votes
2answers
176 views
Wire.h not found!
Here's the code that's making this error:
#include "Wire.h"
Here's the error:
fatal error: Wire.h: No such file or directory
#include "Wire.h"
^
compilation terminated.
Error ...
1
vote
1answer
85 views
Where can I find magnetic declination lookup table?
Is there a way to get approximate value of magnetic declination from GPS coordinates?
My Arduino-based device has a Magnetometer and a GPS, and uses magnetic declination in calculations. I would like ...
3
votes
1answer
84 views
how do I use interrupt service routines inside libraries and classes?
I'm trying to have a millis() timer run to emulate a hardware timer inside a library, but I'm having issues compiling the code. I want to have the callback (pseudo ISR) be part of the class, and not ...
1
vote
1answer
98 views
Create a library without a class?
I'd like to know if it's possible to create a library for Arduino that does not contain a class, just functions.
I know how to create a library with a class, but I'd like to create a library of ...
1
vote
1answer
97 views
MG2639 CELL AND GPS LIBRARIES
I'm using a MG2639 Cell Module with the SMS and GPS functionality.
I have a sketch that sends through SMS the location of the arduino UNO.
This is my code:
#include <SoftwareSerial.h> //to ...
0
votes
2answers
57 views
Debugging with an ATtiny?
I have an ATtiny hooked up to two line scan modules. I'm sending digital signals to the line scan modules then receiving the analog output and storing it in an array. I have an if statement that will ...
0
votes
1answer
65 views
Safe changes in the Arduino Libraries and use them
I changed 2 Arduino Libraries because i have a 9 bit data protocol, now i want use the amended Libraries on my Arduino mega2560.
At first i have set a 9 bit data mode that can i do when i set the ...
0
votes
2answers
2k views
How to connect WIFI sheild ESP-12E-ESP8266-UART-WIFI-Wireless-Shield with arduino
Hi all I have bought this shield from ebay and now I don't know how to use it,
http://www.ebay.in/itm/ESP-12E-ESP8266-UART-WIFI-Wireless-Shield-for-Arduino-UNO-R3-Bouclier-Sans-filfr-/152048233906?
...
1
vote
1answer
36 views
Any way to not explicitly include dependent libraries?
When I am including the Adafruit_BMP280 library, Arduino IDE 1.7.10 complains that it wants all dependent libraries included:
Adafruit_Sensors.h
Wire.h
SPI.h
Isn't it possible to circumvent that? ...