Skip to main content

Questions tagged [c++]

C++ is a compiled general-purpose programming language that adds object-oriented features and other enhancements to the C language, which it is largely a superset of. It is popular for both embedded and PC software development.

0 votes
1 answer
77 views

Reading multiple push-button switches on a raspberry pi using an mcp23017 over C++

Having followed various tutorials on the web (i.e. 1,2), I have made the following connections: To enhance clarity, I post another picture depicting the connections on the mpc23017 using a cropped ...
cestpasmoi's user avatar
0 votes
1 answer
32 views

Remapping PD1 to be a GPIO STM32Duino

I would like to remap the PD1 PD1-OSC_OUT pin on the STM32F103C8 running arduino framework. Originally on bluepill these pins ...
ManeGote's user avatar
0 votes
1 answer
50 views

Programmer is not responding error

I currently am running into problems with my new Arduino board. The complete details are here with log info and other troubleshooting steps https://forum.arduino.cc/t/programmer-is-not-responding-...
Jason Crosby's user avatar
0 votes
1 answer
73 views

Why are GPIO Expander Registers Being Rewritten?

I'm using an LPC1768 microcontroller (mbed) and 4 GPIO expanders (MCP23017). I am trying to write to the expanders to enable the pull up resistors and some other functions, but am getting strange ...
Nate.Olson's user avatar
0 votes
1 answer
91 views

Fake content in serialized array

I have network structures and a container structure (nvs) that holds the number of networks and a pointer chain for each network. I would like to serialize this container and then store it in Non ...
Franziee's user avatar
  • 101
0 votes
0 answers
164 views

How do I control the brightness of a TFT LCD through SPI (No Backlight Pin)

I recently purchased a TFT LCD (GMT020-02 VER1.1) The screen uses the ST7789V LED Driver and does not include a backlight control pin, So Originally I though that it was impossible to control it (i.e ...
Trippy 741's user avatar
0 votes
0 answers
70 views

Losing external EEPROM data after power Cycles on ESP32

Sending "1" starts the write operation into the eeprom every 1 second to the next available address, and sending "2" starts reading the written values into the eeprom. When there's ...
walid Bmd's user avatar
1 vote
1 answer
178 views

Input capture and timers

Microcontroller: STM32F401RE Doing input capture on TIM1's channel 1,2,3,4. ARR register value is 65536. The clock is 8Mhz. The 4 input capture channels are connected to 4 microphones. As soon as a ...
user avatar
1 vote
2 answers
279 views

Can you deliberately damage RAM using pointers?

Can one deliberately cause physical damage to RAM using C++ and its implementation of pointers? What about segmentation faults? Can they cause any damage? Example: trying to access a non-existent ...
ben's user avatar
  • 13
0 votes
1 answer
51 views

Can I write and read a parallel EEPROM content with Analog Discovery 2?

I am wondering if I can read or write the contents of a parallel EEPROM (e.g., 28C64) using Analog Discovery 2. Is C/C++ necessary for this purpose, or is Java sufficient (since AD2 allows scripting ...
Jerzy Przezdziecki's user avatar
0 votes
2 answers
149 views

Planning a University Course: Advantages of modern MCU platforms [closed]

I want to get sincere advice regarding the use of microcontrollers in educational institutes. I am an Engineer at a University in India. We have been using PIC microcontrollers (PIC16 and PIC18) for ...
Zerox's user avatar
  • 33
0 votes
0 answers
236 views

Printf retarget on STM32 with CubeMX

I'm using STM32F7xx for my project where I use VS Code text editor in combination with CMake project build. I also use CubeMX for code generation. For a record I have already examined all the answers ...
lucenzo97's user avatar
  • 2,442
0 votes
0 answers
147 views

Array not initialized properly in STM32Cube IDE

I have a function conv 2D , that takes in 4D and 1D vectors as inputs (inputs, weights,outputs and biases) along with size parameters which are int (filter height, width etc). The function directly ...
satan 29's user avatar
  • 189
0 votes
2 answers
794 views

Error with arduinoFFT library

I'm trying to use the arduinoFFT library (https://github.com/kosme/arduinoFFT) with my ESP32. I made a basic program just to see if the FFT is done correctly. The problem is that I can't compile the ...
C_Cruz's user avatar
  • 1
2 votes
2 answers
376 views

Load bootloader on ESP32

I'm trying to load the bootloader to my esp32 or that's what I think I need, because when I connect it with USB to TTL, and I connect TX with RX, Rx with TX and GND with GND and I reset the micro by ...
Maxpower5859's user avatar

15 30 50 per page
1
2 3 4 5
15