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.
-1
votes
0answers
13 views
how to make no strings in DHT library
I want to get rid of the string part of the DHT reading. I normaly get
Tempature: 20.00
Humidity: 89.56
The code:
include "DHT.h"
define DHTPIN 2
define DHTTYPE DHT22
DHT dht(DHTPIN, DHTTYPE);
...
-1
votes
1answer
48 views
GPU chip for Arduino? [on hold]
Is there any GPU chip that I can buy or salvage to use with my Arduino? I would like to have a chip that has the same power as the VideoCore Series, but easy to use and manage (Easy soldering to a ...
1
vote
1answer
30 views
Error: “invalid use of non-static member function” while calling a function from my own class-method
I'm having a bad time trying to call a correctly-working expression (ultra[currentSensor].ping_timer(echoCheck)) from an own class method (myclass::run) instead of from void loop().
I'm getting the ...
1
vote
1answer
51 views
Mains-Frequency Clock Library
I have an arduino thing, and the hardware I plan to connect to it (a triac zero-crossing based dimmer) provides a synchronization signal from the mains power phase it connects to.
Main power does of ...
1
vote
0answers
36 views
FreeRTOS Implementation on Arduino
I am trying to make an RGB LED with Fan Controller for PCs. It is an Open Sourced project. But I want to implement RTOS using this implementation of it as a function in it, namely rollColor(), takes a ...
3
votes
0answers
30 views
Replace Wire library with TinyWireM
I want to integrate Pololu's vl53l0x Time of Flight distance sensor into a project of mine. They created a library to interface with the vl53l0x over I2C, which works great on my Uno. The only problem ...
0
votes
1answer
21 views
Understanding SevSeg
I need to write a library for a display I created with eight segments. So, I decided to try to use SevSeg (https://github.com/DeanIsMe/SevSeg) as a starting off point. It can't be that different, ...
0
votes
0answers
61 views
My library no longer compiles for ESP8266 - “invalid pin specified”
In developing an Arduino library for driving Lixie displays, I've hit an issue.
My original version required the user to define constants like the FastLED data pin and number of digits in a separate ...
0
votes
2answers
34 views
Creating Arduino library file
I need to create a library file for Arduino. While surfing the Internet, it shows me to use C, C++. Is a C++/C compiler mandatory to create library files in Arduino? Or we can use the Arduino IDE to ...
0
votes
0answers
35 views
Character won't show up on LCD display
When tried to hookup an LCD to arduino mega using the following 2 sketches.
Even though no characters show up on display.
#include "U8glib.h"
U8GLIB_ST7920_128X64_4X u8g(10);
// setup u8g object, ...
0
votes
2answers
60 views
DFPlayer library using RT TX pins
I am using the DFRobotDFPlayerMini-1.0.1 library by Angelo. I am trying to use the actual RX TX pins on a Uno R3, but it doesn't connect unless I type in an alternate digital pin number. This is no ...
5
votes
1answer
70 views
Collection of functions for arduino IDE
I am having troubles creating a collection of functions to be used in Arduino sketches and libraries. What I want is not a class, but simply a group of functions which do not require an object to be ...
0
votes
2answers
39 views
How to load page from SD card and still show live data from sensors?
I am just wondering, how can we display page from SD card and still show live data from sensors?
I have web server running on Arduino mega using ethernet shield, in my sketch I am doing client.print ...
0
votes
2answers
58 views
A class within a class - via an Initialiser Lists: NOT able to update a variable
My test are based on the blog of http://arduinoetcetera.blogspot.be/2011/01/classes-within-classes-initialiser.html.
Because I would like to use this idea, I tried with a simple idea, after the ...
0
votes
1answer
174 views
ESP8266 Aes encryption using Arduino IDE [closed]
I'm trying to implement an AES encryption function on my ESP8266 controller, using Arduino ide and this aes library.
I finally made it work after many attempts but the output i get from the encryption ...
0
votes
1answer
122 views
Global variables use to much space in the dynamic memory
I use two simple libraries (see 1, 2) I found online for my code on the Arduino Uno, unfortunately I also use ROS and all those libraries take away to much space, when I compile my code I get this ...
0
votes
1answer
33 views
How do I see the command line equivalent of clicking Verify?
I am using the ESP8266 board manager. I want to see how Arduino IDE compiles my code once I click Verify.
Why do I want to do this?
I am trying to integrate a C library for which there is now ...
0
votes
0answers
15 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
47 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 ...
5
votes
2answers
821 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.
...
-1
votes
1answer
349 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
56 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
36 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
30 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
41 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
26 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
69 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
36 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
37 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
31 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
93 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.
3
votes
1answer
30 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
70 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
17 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
33 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
16 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
36 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 ...
-1
votes
1answer
44 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
115 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
1answer
32 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
27 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
52 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
130 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
71 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
63 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
162 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 ...
-1
votes
1answer
107 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
176 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 ...