Questions tagged [api]
The api tag has no usage guidance.
7 questions
0
votes
1
answer
29
views
#include files for https://www.kernel.org/doc/html/v4.14/driver-api/spi.html Pi5 C/C++ development
Referring to https://www.kernel.org/doc/html/v4.14/driver-api/spi.html
Writing code to use the SPI API's on a Pi5(RP1). The spec shows the basic Structs for each SPI API. Those structs contain ...
0
votes
0
answers
368
views
How to enable a fastApi server on startup?
im looking for solution, how to edit some files to specify which bash file (it's called startupScript.sh) should start after booting the device. I'm using bash version, without GUI.
But the script ...
2
votes
2
answers
5k
views
How can one make MicroPython HTTPS REST API requests on Pico W?
I'm unable to make MicroPython REST API requests from the Pico W. The WLAN connection is working but the API call fails. ► API call| Not working - Wokwi Pico W Simulator
# Import modules
import ...
1
vote
0
answers
610
views
OSError: -2, File "urequests.py", line 76, in request
I am working with Pi Pico W, it is already connected to the Wi-Fi, I can see it in the ifconfig() output.
Furthermore, I am using this urequests code from https://github.com/micropython/micropython-...
0
votes
0
answers
40
views
No module named 'google' - OR - "The hard and long way it is to develop in Raspberry PI" [duplicate]
... Short story:
I have a Python program with just one line:
from google.auth.transport.requests import Request
When I run it from the python3 command or from Thonny, I get this message:
...
0
votes
3
answers
1k
views
Trying to debug why the magnetic sensor of my MPU9250/6500 Gyroscope Acceleration Magnetic Sensor won't connect via I2C but all the other sensors will
I am trying to debug why the magnetic sensor of my MPU9250/6500 9-Axis 9 DOF 16 Bit Gyroscope Acceleration Magnetic Sensor IIC/SPI won't connect to my Raspberry Pi 4+, but all the other sensors will. ...
2
votes
1
answer
68
views
Programatically Establishing When RPi Supply Voltage is Too Low
Responses to this post: How does RPi "know" when it hasn't got enough power indicate that there is a digital input somewhere on the RPi which indicates what the supply voltage has ...