Skip to main content

Questions tagged [core-libraries]

Refers to the Arduino-specific library code which is included as standard with the official Arduino IDE.

0 votes
2 answers
131 views

LED Matrix for Arduino R4 Wi-Fi specific functions

I'm searching for the path and the source code for the builtin (I think) function, name is: renderBitmap(). This function appears as a member of the ArduinoLEDMatrix class but its name doesn't appear ...
Franck's user avatar
  • 25
1 vote
1 answer
159 views

Where to find interrupt flag for 3rd-party Arduino board cores?

This question might be a bit broad, but I'm running into an apparently classic problem with Arduino interrupts, where the rising or falling edge flag is triggered prior to a rising or falling edge ...
E.HP.S's user avatar
  • 113
2 votes
2 answers
3k views

ESP8266 - error after board update to 3.1.1

I'm using a Ubuntu 22.04 and Arduino IDE 1.8.19 for my ESP8266 Projects. Yesterday I upgraded to 3.1.1 (using board library manager), and right after that - I got the following message (few seconds ...
guyd's user avatar
  • 1,049
-1 votes
1 answer
389 views

How to write arduino code in a c/c++ script

I'm pretty new to arduino. But I have some knowledge about programming in c/c++. I know that arduino is written in c. But it can't be used as normal c/c++ code. for example , instead of including some ...
dee000888's user avatar
1 vote
0 answers
46 views

Porting Arduino for ATMEGA16U2 [duplicate]

I have a bunch of ATMEGA16U2 in my drawer and I need to make a small production of custom boards with Arduino-based firmware. After a Google search I learn the ATMEGA16U2 is often hosted on the ...
Mark's user avatar
  • 393
2 votes
1 answer
1k views

In which package file is a default programmer selected?

After a clean IDE install, the programmer submenu already has a default option selected as shown below: I am working on creating a core package and would like a default programmer to be selected ...
Elliott Sloan's user avatar
0 votes
1 answer
107 views

Where are the programatic definitions for different processors stored?

I need to modify an existing library that relies on being able to detrmine what board / processor the code is being run on. To do this, it uses definitions such as this for an Arduino Mega: // Arduino ...
Ben Bird's user avatar
  • 101
0 votes
1 answer
194 views

Function pointers that call one function

I'm reading a library file timer.h for STM core library that I just installed in Arduino hardware folder. Of course, there has to be a lot of questions for me as a beginner about many approaches/...
R1S8K's user avatar
  • 283
2 votes
1 answer
1k views

How to know my Arduino core version and its location on my Ubuntu laptop?

Bakground: When compiling a demo project about e-paper, I got this problem ./GxEPD/src/GxIO/GxIO_SPI/GxIO_SPI.h:39:5: error: ‘SPISettings’ does not name a type SPISettings _spi_settings; ^ ...
ar2015's user avatar
  • 173
0 votes
2 answers
114 views

How do software interfaces compare to hardware interfaces in therms of speed and reliability?

The Arduino core includes numerous software interfaces mimicking the hardware interfaces provided by the chip and even extending beyond. My question is, if in a project I can either use software or ...
Coder_fox's user avatar
  • 686
6 votes
2 answers
7k views

Tone() conflicts with IRremote library (multiple definition of `__vector_7')

I have just started with Arduino and C++ so I apologise if my question is very basic. I am trying to use tone() with a passive buzzer to create a sound while also using the IRremote library for a ...
rgiller's user avatar
  • 63
0 votes
1 answer
121 views

Is there a simple HTTP(S) library that doesn't rely on WiFi?

I'm trying to implement a Mobile Network (only) for the ESP32 using Arduino IDE. So to be able to connect to website up/download files etc. I need to be able to handle various HTTP PUT/GET/POST ...
not2qubit's user avatar
  • 113
0 votes
2 answers
146 views

Questions about HMC5883L library

I'm studying the structures of libraries currently. I want to learn how good programmers write code, what are the strategies they follow, the art the programmer followed to develop the library. And ...
R1S8K's user avatar
  • 283
1 vote
2 answers
2k views

Multiple void loops with ESP8266

I want to run multiple sketches on one sketch. I use the method of multiple void loops. It works but esp8266 take a lot of time to execute commands. void Setup() { setup1(); setup2(); } void ...
Radja's user avatar
  • 53
0 votes
1 answer
66 views

Where does the Arduino core include the name of the sketch?

I'm trying to look through the Arduino core to find where "mySketch.ino" is included or implemented. In 'Arduino.h', the prototypes void setup(void) and void loop(void) are defined, in 'main.cpp', ...
RabbitsInMyHat's user avatar

15 30 50 per page