100 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
1
answer
44
views
Arduino Pro micro Flight Peripheral (I have very limited programing knowledge)
Hey I need help with "my" code. I generated it with chat GPT based on the data for the arduino pro micro I have and data on the sensors/switches i use. I want my simulator peripheral to ...
0
votes
0
answers
50
views
Android BLE Peripheral encounters issues when continuously sending data using the notify method
Continuously send data 1000 times using the notify method, with an MTU of 512 and each packet being 244 bytes.
The onNotificationSent callback is only received after all data has been sent, and there ...
0
votes
0
answers
970
views
RuntimeError: Cannot determine SoC peripheral base address with RPi.GPIO on Raspberry Pi
import RPi.GPIO as GPIO
import time
PWM_GPIO = 27
SPEED_GPIO = 22
# GPIO setup
GPIO.setmode(GPIO.BCM)
GPIO.setup(PWM_GPIO, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
GPIO.setup(SPEED_GPIO, GPIO.IN, ...
3
votes
6
answers
331
views
Is there a difference in how bitfields behave depending on the underlying type width?
I am defining some registers (they're all 32-bits wide) to interface with a hardware peripheral using bitfields. At first I defined everything by mixing uint8_t, uint16_t, and uint32_t types. For ...
0
votes
1
answer
68
views
What type is `peripherals.APB_SARADC.split()`?
In Demystifying .. Split.. and .. using the ADC blog:
// Promote ADC peripheral to HAL-level Struct
let analog = peripherals.APB_SARADC.split();
But I cannot figure out what the return type is of ....
0
votes
1
answer
436
views
GD32F303RBT6 - TIMER_0 - PWM Settings
Good morning, everyone,
I am a firmware developer and am currently using the GD32F303R8T6 microcontroller to control a brushless motor.
To control such a motor, I plan to use the timer peripheral ...
0
votes
0
answers
158
views
Get the usage timestamps for previously connected external devices in PowerShell
How can I get timestamps on previously connected External devices for a specific port?
(Usage Start Time and Usage End time)
I have tried this but, i am only getting USB list, I need all the external ...
0
votes
1
answer
422
views
Bash script that detect when a joypad is plugged in and retrive its ID_MODEL in a variable, then execute commands
I want to detect with a bash script when a joypad is plugged in and retrive the ID_MODEL of the controller in a variable.
So the script should remain silently listening as long as it is plugged in a ...
-1
votes
1
answer
218
views
STM32 SPDIFRX Peripheral problem (interupts not firing)
I am trying to make myself Digital audio to Analog audio converter
I have STM32F769i Discovery0: https://www.st.com/en/evaluation-tools/32f769idiscovery.html
Which has SPDIFRX and SPDIFTX ports
I ...
-1
votes
1
answer
163
views
Win32 Scard.h c++ - having issues with the api [closed]
I'm trying to look into smart card reading and I've immediately encountered an issue that I'm struggling with. I've called the SCardEstablishContext and I'm now trying to list the cards readers. I'm ...
0
votes
1
answer
1k
views
Peripheral BLE - Can Simulate BLE device on IOS using Flutter?
Is there any Flutter library to simulate BLE device on iOS?
Referred below link. But not working...
https://github.com/juliansteenbakker/flutter_ble_peripheral
https://github.com/dotintent/...
0
votes
2
answers
141
views
If two computers have the same CPU ( same machine instructions ) then what prevents a program from being compatible for both computers?
I'm studying computer architecture and I don't understand what really makes a software for one machine "compatible" with another machine. Let's take for example two machine like Mac Os and ...
user avatar
user18503064
1
vote
0
answers
1k
views
Connecting 3 uart peripherals with esp32
I have 3 devices(GPS-Rx only, tft display-TxRx and a motor driver-Rx only) that connect only using uart. 2 of which only Tx, while one another has both Tx and Rx. I am using uart 0, for tx-rx ...
1
vote
0
answers
872
views
Peripheral devices connection (COM connection) problem with Win 11
After upgrading to Windows 11 I realize that there is no COM-Port to connect to, as it has become legacy software. And now I cannot find my device connecting through a USB port anymore
As I try to ...
2
votes
1
answer
607
views
Can't modify peripheral registers on the rp2040
I'm scratching my head because I can't write and read some/most peripheral registers.
I'm using Rust here and the setup code from the rp2040-hal.
The following code tries to write 0x42 to the DMA's ...