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.

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

EVAL-AD7746LDZ water level sensor

I bought an Analog Device EVAL-AD7746LDZ water level sensor dev board. Unfortunately the Analog's documentation is available only for EVAL-7746EB. My goal is to read the height of water (in mm) via ...
1
vote
0answers
12 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
0
votes
1answer
22 views

EtherCard library without TCP

I have connected some sensors to an Arduino Uno (but the final code should run on a Pro-Mini) with an ENC28J60 shield. The sensor code works fine - until I add EtherCard. I tried UIPEthernet first, ...
1
vote
0answers
28 views

please help me when compile this code it says 'sendATcommand' was not declared in this scope [closed]

int8_t answer; int onModulePin= 2; int counter; char aux_str[150]; char aux; char frame[200]; char latitude[15]; char longitude[15]; char altitude[6]; char date[16]; char time[7]; char ...
0
votes
2answers
37 views

Init a calss inside a class

I'm building a monitoring IP class, IPmonitoring, that using an SPIFFS class that I wrote, flashLOG. Inside IPmonitoring I have 2 instances of flashLOG (code below). My sketch have several instances ...
0
votes
0answers
37 views

Adafruit BNO055 “raw data” quaternion output

You Hello everyone, Apologies for the basic question, but I wasn't able to verify by myself looking through the library files. In the BNO055 help guide there is an example "Raw Sensor Data", ...
1
vote
1answer
160 views

ESP32 Arduino Bluetooth Serial does not reconnect after disconnecting

The basic ESP32 Arduino Bluetooth Serial example pairs and connects as expected, BUT once I disconnect the Bluetooth terminal it stops responding to new events at all, once I reset the esp32, it ...
1
vote
1answer
26 views

TimedAction.h: No such file or directory

I am new to Arduino and I am trying one of the library TimedAction.h for sudo multithreading on Arduino. However the library is not present in the Arduino. How do I install external library(if it is)?
-1
votes
2answers
104 views

How to convert an int to const int in Arduino?

For a specific project, I need to convert an int to a const int variable type. int i = 10; boolean ShiftRegister[i] //Throws error const int i = 10; boolean ShiftRegister[i]// Works Fine as i am ...
1
vote
0answers
50 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 ...
0
votes
0answers
42 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
23 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); ...
0
votes
0answers
84 views

LiquidCrystal_I2C may be incompatible with your current board message

I am trying to get the LED to blink the message in the code. However, I keep getting an error message library LiquidCrystal_I2C-master claims to run on AVR architecture(s) and may be incompatible with ...
1
vote
0answers
31 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
1answer
66 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 ...
0
votes
1answer
26 views

LF: flexible scheduler/timer library

I'm working on a few arduino projects where I've needed a flexible scheduler and/or timer library and was wondering if anyone has a library they recommend? Case 1: I have a sensor that needs to ...
0
votes
1answer
96 views

How to use this confing function

For INA3221 current sensor, I found this library, however, I don't understand how to use the INA3221SetConfig() function as defined in the .cpp file link. void SDL_Arduino_INA3221::INA3221SetConfig(...
1
vote
1answer
128 views

Library for working with a 4-digit 7-segment indicator SH5461AS

Good day. Tell me an excellent library for working with a 4-digit 7-segment indicator. I am currently using #include <fDigitsSegtPin.h> But it does not allow you to display letters, does not ...
1
vote
0answers
36 views

Piezoelectric buzzer interfacing with arduino without using any library

I want to learn programming from the roots, so i have started learning interfacing different modules with arduino without using any libraries. i want to learn how to interface piezoelectric buzzer ...
1
vote
0answers
28 views

Uploading code with other libraries [closed]

I'm working on a very big project and want to upload this to GitHub for people to use (flight controller software) and I'm using libraries from other people to make the process in the beginning easier ...
0
votes
1answer
25 views

Library ADC MCP33121

I'm looking for the Library of the ADC MCP33121 for Arduino UNO or functional code, I don't have enough tools for testing so I'd like to get some code already tested. I appreciate any help. Thanks... ...
0
votes
1answer
109 views

Not able to build program with arduino program under clion

I'm pretty new to arduino and I just downloaded clion and installed the arduino plugin so I have an IDE that I'm used to. Here is my code: #include <Arduino.h> // Time between a switch ...
0
votes
0answers
13 views

query of arduino sketch with regards to employment of gsm sim900a module

what i'm trying to do is to send message to one whose no. is used in code about balance of sim_card plugged in sim900a. but i get commands in message or blank message after using ATE0. what i was ...
1
vote
1answer
45 views

What pins to use on a Teensy to get data from multiple peripherals?

I'm using a Teensy to keep records on the location, speed, altitude, and direction of a weather balloon I'm hoping to launch. I have an Adafruit LSM9DS1 and a Ublox NEO-M8N with compass (HMC5833L) so ...
1
vote
0answers
75 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
142 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 ...
0
votes
0answers
413 views

Read & write on Winbond SPI flash using Arduino UNO

Recently I have brought a original UNO for modifying and flashing various types of bios. I had a dedicated one click bios programmer which was very expensive but few days ago it failed. So I thought ...
0
votes
1answer
59 views

Arduino stuck in PT_WAIT_UNTIL

I am using the Protothread Library from Adam Dunkels. It is supposed to wait 1 second and then continue. But instead it gets stuck there and everything after that line is not executed. lastTimeBlink = ...
0
votes
0answers
92 views

Arduino Nano 33 IoT not connecting to WiFi

I have been using my Nano 33 IoT for a while now and it has been behaving perfectly. All of a sudden though, I just cannot connect to WiFi. I am using the WiFi Nina library. Everything is updated to ...
2
votes
1answer
148 views

Trouble with Arduino Nano Every and radio transmission using RH_RF69.h

I give some help for students working on the Cansat Contest. I am trying to connect a RFM69 Radio Module to an Arduino Nano Every. Nothing works : compiling the simpliest program: #include <RH_RF69....
1
vote
0answers
47 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
45 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
38 views

I have a bunch of libraries but all of them are came as .ino files. I need to turn them into .h files

I recently bought an arduino starter pack online, did some poking around, and learned that I have to install the libraries to get them to work for my projects. The issue is, they all came as .ino ...
-1
votes
1answer
38 views

I get an error?

void setup() { Serial.begin(9600); pinMode(13,OUTPUT); } void loop() { if(Serial.available()>0) {s_num =Serial.read();} if(s_num=='0'){ digitalWrite(13,HIGH); delay(100); //the specified time for 0 ...
2
votes
1answer
49 views

What are a few good ways to connect multiple I2C busses?

I have an issue with a project. I have a backplane with an Atmega328P based microcontroller controlling an I2C bus with multiple peripheral devices. One such peripheral is a removable card with ...
0
votes
0answers
63 views

ESP32 Ticker Vs ESP8266 Ticker inside a class

I'm trying to create a class including Ticker library when using ESP32. A question asked here, concluded the situation. BUT after answered, I could not understand or even implement the answer. Please ...
3
votes
1answer
249 views

Alternatives to Nextion display

I am wanting to have a display where I can design the GUI on a program and then somehow transfer it to the display. For the graphics I want to make, it would be really hard to manually write the code. ...
0
votes
1answer
46 views

Code hangs with SPI, and OLED labraries (Possible conflict between Adafruit SSD1306 and hardware SPI libraries)

I have an issue with using two libraries together, namely SPI.h that is installed together with an Arduino and Adafruit_SSD1306.h. My code was getting stuck so I stripped it down to the bare minimum ...
1
vote
1answer
201 views

TinyGPS++ Question about gps.encode(ss.read())

I am trying to make an oled gps display, however when looking at multiple examples and other people's code, I am seeing that people are using different methods. I see some code that has gps.encode(ss....
-3
votes
1answer
78 views

What wireless protocols can be used with arduino?

Before you close this saying it's not related to programming. It is related to programming since i'm using it and asking about libraries. What are the common types of communication protocols and their ...
0
votes
0answers
95 views

#include <stdatomic.h> generates compile errors with no code

Consider the following (non)code example: #include <stdatomic.h> void setup() { // Nowt. } void loop() { // Nowt squared. } This generates compile errors for several lines of code in ...
2
votes
1answer
78 views

is it necessary to include libraries that are specified in the header file already?

I am using the Adafruit BME280 library in my sketch. In the example sketches, they have included the Wire, SPI and the Adafruit_Sensor library. However, I see that in the Adafruit_BME280 library ...
4
votes
3answers
365 views

Programming Arduino Uno R3 to trigger a relay once every 24 hours

I programmed Arduino UNO R3 to trigger a relay once every 24 hours from the moment it is powered on I calculated milliseconds and used the function delay() 24 hours * 60 minutes each hour * 60 second ...
1
vote
0answers
386 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 ...
2
votes
1answer
77 views

WebSocket Server for MKR1000

I was looking for a websocket server for my MKR100 but nothing I found looks it works. I tried all the libraries that come with arduino but half of those doesn't compile on MKR1000 and those that did ...
1
vote
0answers
33 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; ...
0
votes
1answer
361 views

Reading SNMP V2 OID from ESP8266/ESP32

i need to read from my ESP32/ESP8266 some SNMP V2 OID values from my home printer: it exists a library/method that can do that? I've seen some SNMP agents, but they works only with the devie as server ...
1
vote
1answer
756 views

Which Arduinos support ATOMIC_BLOCK?

Is there a definitive list of which Arduino architectures support the ATOMIC_BLOCK() macro, and a list of #defines for each architecture? I've tried searching through the Arduino cores on GitHub to ...
0
votes
1answer
120 views

AccelStepper library advanced codes!

I was trying to find out how this library can run multiple stepper motors at the same time, and I saw this important function called... void AccelStepper::setOutputPins(uint8_t mask) { uint8_t ...
1
vote
0answers
39 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
2 3 4 5
10