Search found 8 matches
- Mon Sep 11, 2023 5:50 am
- Forum: General Discussion
- Topic: Getting data from PC (USB_HID protocol)
- Replies: 0
- Views: 856
Getting data from PC (USB_HID protocol)
Hello I want to receive data from the windows machine using USB HID protocol. I already implement a gamepad structure that works as a classic gamepad and I want to add this vibration. How can I send data to the USB gamepad device? I did not find anything . Thanks for helps. (I am using tinyusb libra...
- Wed Nov 16, 2022 1:52 pm
- Forum: General Discussion
- Topic: ESP-BLE
- Replies: 0
- Views: 786
ESP-BLE
Hello guys,
I am just try to send data to windows pc via BLE. How can I send data to windows machine via BLE? I am just try to build server using nimble but ı didn even see the device name on the windows.
I need your advices?
Thanks .
I am just try to send data to windows pc via BLE. How can I send data to windows machine via BLE? I am just try to build server using nimble but ı didn even see the device name on the windows.
I need your advices?
Thanks .
- Tue Nov 15, 2022 7:38 am
- Forum: General Discussion
- Topic: Error while connecting esp32's BLE
- Replies: 0
- Views: 1414
Error while connecting esp32's BLE
Hello guys, I am trying to send data to a mobile phone via BLE. When ı try to connect esp32 from android device using Lightblue app, program says failed to establish connection. I tried maybe 4 5 times to connect esp32. Sometimes it connects second or third attemption sometimes it cant connect. What...
- Thu Nov 03, 2022 4:47 am
- Forum: ESP-IDF
- Topic: Problems including esp-idf library
- Replies: 2
- Views: 2440
Re: Problems including esp-idf library
Try to open menuconfig and in the menuconfig go to component config->Bluetooth->Bluetootrh Host select BLE only
after that save config then build.
after that save config then build.
- Thu Oct 06, 2022 3:38 pm
- Forum: General Discussion
- Topic: BLE header files
- Replies: 2
- Views: 1701
Re: BLE header files
Thank you for your help..
- Wed Oct 05, 2022 11:44 am
- Forum: General Discussion
- Topic: BLE header files
- Replies: 2
- Views: 1701
BLE header files
Hello,
I am just trying to uınderstand what is happening in the belown code. It seems like casting pointers but I didnt get the
whole idea.
Can some one explain it ?
Thanks for helps
#define BLE_UUID16_DECLARE(uuid16) \
((ble_uuid_t *) (&(ble_uuid16_t) BLE_UUID16_INIT(uuid16)))
I am just trying to uınderstand what is happening in the belown code. It seems like casting pointers but I didnt get the
whole idea.
Can some one explain it ?
Thanks for helps
#define BLE_UUID16_DECLARE(uuid16) \
((ble_uuid_t *) (&(ble_uuid16_t) BLE_UUID16_INIT(uuid16)))
- Sat Sep 24, 2022 5:44 am
- Forum: General Discussion
- Topic: freeRTOS microsecond delay
- Replies: 7
- Views: 10397
Re: freeRTOS microsecond delay
The complete code : void motor_move() { while(1) { gpio_set_level(EN_PIN, 0); gpio_set_level(DIR_PIN , 0); for(int32_t i =stepper1.curr_pos ; i>= stepper1.pos; i--) { gpio_set_level(STEP_PIN , 0); ets_delay_us(5); gpio_set_level(STEP_PIN , 1); ets_delay_us(5); stepper1.curr_pos = i; printf("current ...
- Fri Sep 23, 2022 1:39 pm
- Forum: General Discussion
- Topic: freeRTOS microsecond delay
- Replies: 7
- Views: 10397
freeRTOS microsecond delay
Hello, I am trying the run stepper motor with the tmc2208 driver and ı want to delay in microseconds like 5uS or 10 uS. When ı create a task using xTaskCreate() function and adding some delay in the task function. I dont get any delay even if I add some different delays. I also used portTICK_RATE_MS...