Skip to main content

Questions tagged [c++]

For questions pertaining to compiling c++ programs on the Raspberry Pi.

0 votes
0 answers
85 views

I am trying to build this project: https://github.com/sekigon-gonnoc/Pico-PIO-USB Unfortunately, I am not able to build it. I am on Ubuntu 20 and I have the pico sdk downloaded. After the cmake ...
user1584421's user avatar
2 votes
1 answer
732 views

I'm trying to get a simple program that uses GPIO running on a Pico W. But I've run into a build issue. I'm 99% sure the problem is in my CMakeList.txt file. But it isn't apparent to me where I've ...
Joel 's user avatar
  • 131
1 vote
1 answer
829 views

I have a Raspberry Pi Pico connected to a Raspberry Pi 4 into which I am working with SSH. I succeeded into loading the blink LED example by drag-and-drop the binary file. Is it possible to do this ...
user171780's user avatar
2 votes
1 answer
297 views

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
47 views

Let me start by saying that the reason I'm using this model is because this particular specimen old and relatively disposable, which is appropriate for my project. I have written myself a library and ...
mbza's user avatar
  • 1
0 votes
1 answer
449 views

I'm attempting to make a function-generator (or AWG) with a Raspberry Pi Pico. For that, I'd like to utilize the DMA and PIO capabilities of the chip. On a DMA channel I would copy and direct sample ...
Peter Lenkefi's user avatar
-1 votes
2 answers
111 views

I am wondering whether any model of the Raspberry Pi can reliably output an 8-bit 20mhz signal into 8 GPIO pins at the same time. Basically I am trying to read 8-bits from a file at a time out to 8 ...
Patrick Hennessey's user avatar
-1 votes
1 answer
100 views

Is there any way to build a C++ Raspberry Pi Pico binary without having to install Python. It's quite heavyweight and feels quite unnecessary (I do like tidy toolchains without huge bloat and an ...
Warpspace's user avatar
2 votes
1 answer
370 views

All, I've ported a C++ OLED library from the bcm2835 library to use i2c-smbus to prevent having to run the executable as root. (not the best from a security standpoint). However, i2c-smbus and ioctl() ...
David C. Rankin's user avatar
1 vote
1 answer
885 views

I am writing a multiplatform program in c++ that should run on AMD and Raspberry Pi 4. On AMD I installed cpp-httplib-dev like this: sudo apt-get install libcpp-httplib-dev and then the code like ...
pi.314's user avatar
  • 113
0 votes
0 answers
234 views

I'm writing in C++ using WiringPi to integrate with GPIO but it doesn't seem to work during runtime. Below I have a simple example of an output wired to an input expecting the input to read HIGH, but ...
Yato's user avatar
  • 1
2 votes
2 answers
2k views

Is there a way to set a one time timer interrupt on the Raspberry Pi Pico? I.e. in code, I would be able to tell the hardware timer to interrupt me in a specified period of time. Example pseudocode ...
alex's user avatar
  • 41
1 vote
1 answer
459 views

I'm trying to measure the voltage of a 11.1V LIPO battery, which is substituted by a power supply for testing, using the raspberry pi pico on a breadboard, and then it changes the voltages of an RGB ...
epicMan123's user avatar
2 votes
1 answer
125 views

The Raspberry Pi Pico documentation indicates "if you are intending to develop for Pico on a Raspberry Pi, then you can set up the C/C++ toolchain quickly by running our setup script from the ...
Steven Clark's user avatar
3 votes
1 answer
479 views

I am trying to write C code so my Raspberry Pi4 can be an SPI slave, and the SPI master can read data from the Pi4. I'm expecting to get this data from SPI master (in a continuous loop): 0x01 0x42 ...
dtbaker's user avatar
  • 151

15 30 50 per page
1
2 3 4 5
18