Questions tagged [library]

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.

74 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
154 views

Arduino IDE - scope of the pre-processor "#define"

I'm creating an Arduino library and have 3 files - a "test.ino" program, and two library/class files: "testLibrary.h" and a "testLibrary.cpp". The library makes use of ...
2
votes
1answer
99 views

Keep 5V on while sleep with LowPower library

Is it possible to keep the 5V on, while putting the Arduino (ATMEGA328P) in sleep more, using LowPower library? I'm trying to use this HAT: https://spellfoundry.com/product/sleepy-pi-2-usb-c/ to ...
2
votes
0answers
226 views

UDP behavior different for STM32

I'm facing a weird situation, where the UDP behavior seems different in STM32 porting (stm32duino). Short question Besides port and address, what are the other parameters that characterize the UDP ...
2
votes
0answers
362 views

Millis() is Not Working

I have a sketch that uses two timers using millis() from a library I created to keep time. The timers seem to be working correctly, but when I print the start time of each timer, it is clearly wrong. ...
2
votes
0answers
3k views

WifiEsp client TIMEOUT when put on a loop

Hello I have been using the WifiEsp to send and receive data from Thingspeak. All is well until I put my http request on the Void Loop() section. My Goal: I want to receive data every loop not on ...
2
votes
0answers
2k views

Using ArduCam library for Ov7076 camera

I am using OmniVision OV7076 camera (without FIFO) with Arduino Uno. So I want to use Github code provided in ArduCAM repository. They have provided OV7076 FIFO version straightaway but it is using ...
2
votes
0answers
623 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 ...
2
votes
0answers
299 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 ...
2
votes
0answers
196 views

Receiving and transmitting messages simultaneously

tldr; I am writing a mesh network software using arduinos. I need to wirelessly receive, process, and transmit data, all simultaneously. I am aware of protothreads library, and the other software ...
2
votes
0answers
280 views

Adafruit Trinket 3v with LED matrix backpack producing error

I have been wanting to create a Arduino watch. I built the circuit with an Adafruit Trinket 3v and an Adafruit LED matrix backpack (8*8). When I try to upload this example code: /*********************...
2
votes
0answers
62 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. ...
2
votes
0answers
108 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 ...
2
votes
0answers
142 views

Arduino with NFC: Garbled Serial Monitor

I started working on a small programming project just for fun and I have got stuck. I have been using the following tutorial to make an Amiibo Music Box Now using the libraries the tutorial suggested,...
2
votes
0answers
375 views

How to effectively modify a library to be able to function with Mozzi Library?

I have sketch that runs almost exactly as I would want it to. Now I am trying to add sound to it using the Mozzi Library instead of just using the tone function. This way I can avoid having to put a ...
2
votes
0answers
2k views

Servotimer2.h is not recognised as a library by arduino uno

I'm doing a project for school with an arduino uno. I want to control a motor using a RF-module as remote control. I need the library Virtualwire.h to use the RF-module and the library Servo.h to ...
2
votes
0answers
313 views

Arduino ProMini green led flashing and unable to reset

so I'm using a promini running on solar power. For some reason, after sometime it gets stuck with the green led flashing and only by cutting power can I reset the promini. Even the reset button doesnt ...
2
votes
0answers
396 views

Custom Library Pin Change

I'm using an Arduino Uno with Funduino I2C 1602 LCD display. The LCD display is connected as LCD SCL--> A5 SDA -->A4 I need to measure the temperature, pressure and the velocity of a duct flow. So ...
1
vote
0answers
19 views

WiFi HaLow library

Does anyone know if some Arduino based library is on the way to support new low power WiFi HaLow modules. If there is, I would like to know for which module? For reference I'm sharing link here
1
vote
0answers
52 views

Getting location working on SIM800L with TinyGSM?

Hey Arduino enthusiasts :) I have purchased a LilyGo T-Call board. Which has a Esp32 processor and a SIM800L GSM module. For my project i want to send location data over the 2G cellular network. I am ...
1
vote
0answers
44 views

RTClib.h problem

In Library Manager RTClib and DS3231 work somehow with older versions. RTC time can picked only once and then it give bullshit. Using newest versions screen is empty. In picture first time is right, ...
1
vote
0answers
13 views

arduino loRa module search tutorial

I recently purchased a LoRa module (https://it.aliexpress.com/item/1005002116232826.html?spm=a2g0s.9042311.0.0.38c74c4dPnh2Gg) but I have not found any working tutorial for this model can you help me
1
vote
0answers
177 views

Bluetooth HID for mouse project

I’m working on a project, to create an air mouse for people with repetitive strain injury (since I have it as well). I’m flexible with the hardware required. The plan is to use data from an IMU for ...
1
vote
0answers
44 views

Can I create an hemi-cycle raising signal with one pin and the other hemi-cycle signal with another pin?

I am new to Arduino, I would like to know if someone could help me to create this type of signal with the Arduino Uno. Many thanks!!
1
vote
0answers
25 views

Touch sensor trouble

I need help I use Touch Sensor(T)v.0 and it always receives a signal not matter I touched it or not. Here is the code. #define TOUCH_PIN 7 int touchVal = 0; void setup() { Serial.begin(115200); ...
1
vote
0answers
55 views

generate and using a precompiled library ESP32

I would like to ask you how I can generate a dot_a file for a given library for ESP32? I want to replace my .cpp file with a precompiled .a in the Arduino IDE. Is that possible? Can you please guide ...
1
vote
0answers
107 views

'class Adafruit_SPIDevice' has no member named 'endTransaction'

So what I have done is followed all of the instructions in the following link: https://learn.adafruit.com/adafruit-pygamer/setup and have managed to get all the way up to https://learn.adafruit.com/...
1
vote
1answer
350 views

Adafruit_Arcada' does not name a type;

I am trying to program an adafruit pygamer (which says it's compatible with Arduino). I have added the ZIP folder for the library into the library folder om my PC where all of my folders are supposed ...
1
vote
0answers
87 views

Why do I get error "Error compiling for board Arduino Uno" with my mpu6050 video stabilization code?

This is the code I'm working with. I'm using it for video stabilization system. It was working fine but for some reason now it gives me this error? Is it because I deleted the library and installed ...
1
vote
0answers
58 views

listener for Plotter library doesn't work

I try to use Plotter to plot some data from my Adafruit Circuitplayground board, but the listener is kept showing "Scanning serial ports..." and not displaying any plot (as shown below in ...
1
vote
0answers
635 views

How to use LCD display HD44780 with arduino without using any library

My professor wants me to implement a display to an old project prototype we had laying around on the lab. But he wants me NOT to use LiquidCrystal.h library or any other to achieve that. I read ...
1
vote
0answers
58 views

Arduino and ZMPT101B But Not Stable Sigma Output In 7segment Display(TM1637) using filter library

#include <Arduino.h> #include <math.h> //TRUE RMS START #include <Filters.h> //Easy library to do the calculations #include <TM1637Display.h> float testFrequency = 100; ...
1
vote
0answers
52 views

Is it possible to implement old AVR library onto arduino (specifically, NodeMCU esp8266)

I am a Computer Engineering Undergrad, currently in a cryptography(computer security) course, and I was assigned to do projects about implementing µNaCl library onto Arduino. I currently own a nodemcu ...
1
vote
0answers
160 views

Arduino Raspberry RadioHead node sends sensor data with sendtowait (ReliableDatagram) raspberry receives but node gets no ack

I have a configuration like following: An Arduino and a raspberry both running with RadioHead library Arduino with sensor sends data to a raspberry gateway using RHReliableDatagram with the sendtoWait ...
1
vote
0answers
64 views

Trying to show g++ (linter-gcc for Atom) where to find Arduino libs

I'm trying to use Atom as an IDE for arduino and arduino-based boards. I'm using arduino-cli for compilation and avrdude for upload, and now I'm trying to use linter-gcc for linting. g++ is running ...
1
vote
0answers
363 views

Error compile board LOLIN(WEMOS) D1 R2 & mini

I have a wemos d1 mini and a mpu 6060 sensor. I am trying to send the data from the sensor to Firebase. However i have come across a hurdle which i cant seem to solve. This is my error, can you help ...
1
vote
0answers
19 views

How can I start freshly? Libraries mess Wemos D1 Mini

I am using a wemosd1 MINI which has a ESP8266 module. I am using it for an IoT project, however a lot has been going wrong. With libraries and version types. I want to start over but noticed that ...
1
vote
0answers
54 views

Arduino-compatible Bluetooth classic module to use in a product

I've been designing a product for some time using arduino language, but on our own hardware. Recently a need arose to add some Bluetooth capability to our product. We decided to use BT classic instead ...
1
vote
0answers
127 views

Using SMS to send commands to the Arduino. Having problems in data parsing

I'm still inexperienced in programming and i apologize in advance if my mistakes are stupidly obvious. This sketch I'm working on is a basic GSM project using SIM900a Mini and an Arduino UNO that ...
1
vote
0answers
332 views

MQ7.h: No such file or directory

Using ESP32 I'm making air pollution quality meter. For that I need MQ7.h library which is of version 1.0.4 MQUnified sensor library, which supports all sensors. I am using MQ7 carbon monoxide sensor....
1
vote
0answers
425 views

Having problems compiling this code for NRF24l01 on stm8s103f3p6

It said it has mutiple libraries were found for "nRF24L01.h" but i check the Ardurino libraries I can only found one. And it work fine if I compile it to Arduino uno. //Include Libraries #include <...
1
vote
0answers
150 views

Use Arduino Libraries in PlatformIO?

I'd like to use Arduino libraries installed in C:\Users\Username\Documents\Arduino\libraries in a PlatformIO project. Is it possible? if so, how?
1
vote
1answer
709 views

src folder in sketch structure and include library from subfolder

My Arduino/PlatformIO libraries folder libraries └── cleaner_robot └── TB6612_Dual ├── tb6612_dual.h └── tb6612_dual.cpp I used this code to innclude it: #include <...
1
vote
0answers
198 views

How can remove the WiFi/Bluetooth libraries when compiling the firmware using the Arduino IDE?

I have an ESP32-D0WDQ6, which is part of the ESPIRIT freematics development kit. The processor is a 2-core Tensilica LX6 and the module has 520 kB SRAM + 4 MB external on-module flash. It also has the ...
1
vote
0answers
57 views

Arduino core libraries

We have worked with a company to design a custom board based on the Arduino Zero and have also had them do some programming for us. In doing so, they have had to modify the following Arduino core ...
1
vote
0answers
79 views

How can if resolve this conflict between matrix keypad library and neopixel library?

I'm trying to use a 4x3 matrix keypad as a user interface to control parameters of a Neopixel strip control program. I'm using Adafruit's Neopixel library and This Keypad library. Both work fine on ...
1
vote
0answers
156 views

Trigger cheap wireless doorbell

I would like to trigger a simple wireless doorbell. The doorbell uses 433Mhz. To read and send signals I am using the FS1000A Set (sender and receiver). I've started by connecting the receiver to the ...
1
vote
0answers
281 views

error while uploading a code

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno" avrdude: can't open input file C:\Users\PETER_~1\AppData\Local\Temp\arduino_build_223764/nyu_probe_activity1_code.ino.hex: No such file or ...
1
vote
1answer
199 views

Trying to instantiate a DS3231 real time clock within a library

I'm trying to write a library encapsulating things that I do with a DS3231 real time clock. I have managed to compile a sketch using the library, but it apparently blows up when attempting to call ...
1
vote
0answers
73 views

Zero-ing Compass | Following Magnet Strip Robot

So my problem is purely programming, I understand the problem but can't figure out what to do, Is there a library? should I create my own code for Zero-ing my compass so I don't have value from earth ...
1
vote
0answers
307 views

conflicts with LiquidCrystal.h and SoftwareSerial.h library?

Simply put, if I include and initialize both libraries, the LCD displays junk. If I don't include and use the software serial lib, the LCD displays correctly. BTW, there are no devices physically ...