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.

73 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
142 views

Ability to connect 2 or more w5500 Modules and deal with them as objects

I wish to create a rudimentary ethernet in/out - switch/hub where I can (sort of) daisy chain my boards. (I don't wish to use a ethernet switch/router/hub) One port would be acting as server The ...
Ohbhatt's user avatar
  • 76
2 votes
0 answers
291 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 ...
Mark's user avatar
  • 395
2 votes
0 answers
512 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. ...
Tarlyo's user avatar
  • 21
2 votes
0 answers
4k 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 ...
Duckbenok's user avatar
  • 139
2 votes
0 answers
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 ...
Neeraj Pal's user avatar
2 votes
0 answers
676 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 ...
echo_salik's user avatar
2 votes
0 answers
308 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 ...
Jim's user avatar
  • 151
2 votes
0 answers
236 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 ...
Jonathan's user avatar
  • 264
2 votes
0 answers
302 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: /*********************...
Merlin04's user avatar
  • 121
2 votes
0 answers
63 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. ...
nik's user avatar
  • 21
2 votes
0 answers
115 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 ...
Andrew Milich's user avatar
2 votes
0 answers
146 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,...
Jeremy Beare's user avatar
2 votes
0 answers
394 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 ...
Collectiveum's user avatar
2 votes
0 answers
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 ...
loran's user avatar
  • 21
2 votes
0 answers
359 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 ...
suckms's user avatar
  • 125
2 votes
0 answers
402 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 ...
Deniz's user avatar
  • 41
1 vote
1 answer
40 views

Why 0 devices, but not 1?

I have found a sketch in Wokwi where a MAX7219 LED matrix is used. The sketch subject is to display 0 using <LedControl.h>. I don't understand why it's nessesary to send 0 unlike 1 in fourth ...
Artur Krush's user avatar
1 vote
0 answers
41 views

MKR GPS shield inconsistent GPS connection/data printing...library issue?

I have been using a MKR WiFi 1010 board with GPS shield for a very long time (year+) and have not been able to solve my problems with the GPS data dropping out. The setup for my field application is a ...
ktn8rgrl's user avatar
1 vote
1 answer
723 views

Impossible to install the esp_camera library

I cannot install the esp_camera library. When I try to add the .zip, I get "does not contain a valid library. Everything about this ESP-32 Cam seems to rely on that library, and I can't find a ...
brunobhr's user avatar
1 vote
1 answer
98 views

Get 3-inch e-Paper working on a Nano

Please help! I purchased a 3-inch e-Paper Display from Waveshare, which appeared to suit my project well. The exemplary little code to show an image was easy to set up and to demonstrate functionality:...
nick's user avatar
  • 19
1 vote
0 answers
413 views

Keyestudio KS5009 ESP32WROOM32 Smart Home

I'm encountering persistent errors with the sample code provided for my smart home kit project. Despite conducting extensive research and troubleshooting efforts, I haven't been able to find a ...
Mars's user avatar
  • 39
1 vote
0 answers
171 views

Using library functions in timer ISR ESP32

I'm trying to use a library function in my ISR function that uses the internal timer to trigger every 1 ms. The chip that I'm using is an ESP32-C3-MINI. Here is my current code: main.cpp #include <...
Max's user avatar
  • 111
1 vote
0 answers
57 views

Adding RTC Library for Arduino Project in Visual Studio

I am working in an Arduino project in visual studio. I need to get and set time to a RTC clock. That's why I am adding a ds3231 header file in my project from GitHub. When I want to build "it's ...
Iqbal Hossain's user avatar
1 vote
0 answers
418 views

Is there a FreeRTOS library for an Arduino Nano 33 BLE?

I can't seem to find any library online so I can start developing FreeRTOS tasks for the Arduino Nano 33 BLE in the Arduino IDE. Is FreeRTOS incompatible with this Arduino?
bro's user avatar
  • 11
1 vote
0 answers
940 views

PlatformIO - Creating a library including a 3rd party library

I'm using PlatformIO, and I'm trying to create a library who uses another library in it. (1) For that I created an empty library called ABCD.h stored in a newrep github repository. (2) 3rd party ...
guyd's user avatar
  • 1,033
1 vote
0 answers
869 views

AccelStepper motor current position

When using the AccelStepper library to control the motor, I need the current position of the motor at any given time when in motion. However, the functions in this library blocks so currentPosition() ...
thediyer's user avatar
1 vote
0 answers
57 views

Problem adding library in the Arduino IDE

Currently, I'm trying to build image processing on ESP32 using OpenCV GitHub - joachimBurket/esp32-opencv: Shrinked OpenCV for ESP32. Then I want to put this library into Arduino IDE. But, I'm having ...
had's user avatar
  • 11
1 vote
0 answers
110 views

Error compiling arduino sketch to seeduino xiao for RF24 Module

I am trying to get 2 rf24 modules talking to each other. This is my first real arduino project so bear with my ignorance please. I could get them to work with 2 arduino nano but, when trying to ...
Luke's user avatar
  • 11
1 vote
0 answers
358 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
sairfan's user avatar
  • 121
1 vote
0 answers
870 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 ...
kasper.jha's user avatar
1 vote
0 answers
208 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, ...
Petri Hietala's user avatar
1 vote
0 answers
19 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
francesco diploma's user avatar
1 vote
0 answers
656 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 ...
Zhelyazko Grudov's user avatar
1 vote
0 answers
52 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!!
Edgar Hornus's user avatar
1 vote
0 answers
31 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); ...
Shushan Abovyan's user avatar
1 vote
0 answers
228 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 ...
cherif dek's user avatar
1 vote
0 answers
502 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/...
DigitalRookie4's user avatar
1 vote
0 answers
154 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 ...
Dani's user avatar
  • 11
1 vote
0 answers
105 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 ...
Jerry wu's user avatar
  • 111
1 vote
0 answers
2k 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 ...
Augusto Filho's user avatar
1 vote
0 answers
232 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; ...
Shafaeit Hossain's user avatar
1 vote
0 answers
83 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 ...
Nobel Edgar's user avatar
1 vote
0 answers
372 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 ...
Christian Eugster's user avatar
1 vote
0 answers
94 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 ...
Jonathan Musther's user avatar
1 vote
0 answers
632 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 ...
Hi tE's user avatar
  • 21
1 vote
0 answers
25 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 ...
Hi tE's user avatar
  • 21
1 vote
0 answers
63 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 ...
Anthropomorphous Dodecahedron's user avatar
1 vote
0 answers
179 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 ...
Sketskie's user avatar
1 vote
0 answers
509 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....
swapnali tandale's user avatar
1 vote
0 answers
770 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 <...
tszkin lee's user avatar