Search found 7 matches

by jabakobob
Thu Mar 30, 2017 9:40 am
Forum: General Discussion
Topic: HID Profile
Replies: 15
Views: 35362

Re: HID Profile

I would like my ESP32 to act as a bluetooth keyboard. As I understand, this is not currently possible. Will support for the HID profile allow this? Is there any progress on this matter?
by jabakobob
Mon Jan 09, 2017 9:13 am
Forum: General Discussion
Topic: Forum search broken?
Replies: 3
Views: 6505

Forum search broken?

Does anybody have suggestions how to use the search on this forum? For example, I tried to find information on the ADC, and I got the error message: "The following words in your search query were ignored because they are too common words: adc." I really don't want to post a question that has been an...
by jabakobob
Thu Jan 05, 2017 9:46 am
Forum: ESP-IDF
Topic: Atomic operations with <stdatomic.h> in IDF?
Replies: 2
Views: 9463

Re: Atomic operations with <stdatomic.h> in IDF?

I was able to fix the errors by including esp_types.h first:

Code: Select all

#include <esp_types.h>
#include <stdatomic.h>
by jabakobob
Thu Jan 05, 2017 9:10 am
Forum: ESP-IDF
Topic: Atomic operations with <stdatomic.h> in IDF?
Replies: 2
Views: 9463

Atomic operations with <stdatomic.h> in IDF?

Hi! I'm trying to write an ISR for a quadrature encoder. My function needs to xor a global variable and increments a global counter. I figured the correct way to do that would be by using atomic operations defined in <stdatomic.h>. However, when I include this header file, I get a lot of error messa...
by jabakobob
Tue Jan 03, 2017 4:44 pm
Forum: ESP-IDF
Topic: LED-PWM example for a beginner?
Replies: 5
Views: 29184

Re: LED-PWM example for a beginner?

Thanks a lot, Angus! That example helped a lot, I was able to get it working. It turned out to be really simple: - first call ledc_channel_config() to set up a PWM channel - then call ledc_timer_config() to set up a timer There's one caveat: don't switch the order of the calls. I tried to set up the...
by jabakobob
Thu Dec 29, 2016 9:39 pm
Forum: ESP-IDF
Topic: LED-PWM example for a beginner?
Replies: 5
Views: 29184

Re: LED-PWM example for a beginner?

I've already seen that example. But as far as I understand, this just works if I use the Arduino IDE, right? Those ledc-funtions are not available in IDF, are they? I don't want to use the Arduino IDE since it is still missing a few important bits (as far as I understand UDP and analog read are stil...
by jabakobob
Thu Dec 29, 2016 2:27 pm
Forum: ESP-IDF
Topic: LED-PWM example for a beginner?
Replies: 5
Views: 29184

LED-PWM example for a beginner?

Hi! I've just started programming the ESP32 with IDF, and I am a complete beginner. I've managed to set up the tool chain and flash some examples. The next step I want to take is to control a motor with a PWM signal. It looks like the LED-PWM function of ESP32 is very versatile, but I am a bit overw...