Search found 9 matches

by uwe_pg
Thu Nov 21, 2019 2:32 pm
Forum: ESP32 IDF
Topic: Read a value from a given memory address
Replies: 4
Views: 280

Re: Read a value from a given memory address

The last value I tested was 0x02000000. Yes, I didn't check it at the manual, this was not a good idea. First time I started with my address 0x10000. My partitions are: nvs, data, nvs, 0x9000, 0x4000, otadata, data, ota, 0xd000, 0x2000, phy_init, data, phy, 0xf000, 0x1000, factory, app, factory, 0x0...
by uwe_pg
Thu Nov 21, 2019 7:51 am
Forum: ESP32 IDF
Topic: Read a value from a given memory address
Replies: 4
Views: 280

Read a value from a given memory address

Hello, how can I read a value from a given memory address (e.g. 0x02000000) using C? I tested this char *ptr = (char *) memory; printf("Data=%c\n", (char) *ptr); With memory = 0x20000000 it worked, with memory = 0x02000000 I got: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was...
by uwe_pg
Fri Dec 14, 2018 3:08 pm
Forum: Sample Code
Topic: SGP30 example
Replies: 0
Views: 1216

SGP30 example

Hello,

did anyone have an example with SGP30-Sensor for esp-idf in C?

My sensor worked fine with an arduino-example, but I like to integrate the sensor in a big esp-idf-program.

I found only this at github https://github.com/seyriz/SGP30_ESP-IDF. It didn't work.
by uwe_pg
Tue Nov 20, 2018 6:11 am
Forum: ESP32 ADF
Topic: ESP32-A1S
Replies: 3
Views: 2135

ESP32-A1S

Hello,

did anyone have an example for the ESP32-A1s Audio Development Kit? It is an audio board without audio processor and six mechanical buttons (without reset and boot).
by uwe_pg
Sun Oct 14, 2018 5:26 am
Forum: Sample Code
Topic: DHT12
Replies: 0
Views: 981

DHT12

Hello,
die anyone have a small example with DHT12-Sensor for esp-idf in C?
by uwe_pg
Sat Oct 06, 2018 5:08 am
Forum: ESP32 IDF
Topic: DHT12 example
Replies: 0
Views: 479

DHT12 example

Hello,
die anyone have a small example with DHT12-Sensor for esp-idf?
by uwe_pg
Wed Jul 11, 2018 7:10 am
Forum: Sample Code
Topic: ESP-IDF: Code for PCA8574
Replies: 2
Views: 2175

Re: ESP-IDF: Code for PCA8574

Thanks for the quick answer.

I forgot an important thing: I need a C sample and not CPP.
by uwe_pg
Tue Jul 10, 2018 12:35 pm
Forum: Sample Code
Topic: ESP-IDF: Code for PCA8574
Replies: 2
Views: 2175

ESP-IDF: Code for PCA8574

Hello,

can anyone help me. A little example for the "I2C 8-bit I/O expander module" PCA8574AD. It worked fine with the libs on Arduino, but with esp-idf I have some problems.

Bye
by uwe_pg
Sun Jun 18, 2017 9:25 am
Forum: General Discussion
Topic: Change Baudrate on the fly
Replies: 0
Views: 754

Change Baudrate on the fly

Hello, I like to change baudrate for an ESP32 on the fly to communicate with a VC0706. I used Arduino: 1. HardwareSerial Serial2(2); 2. Serial2.begin(38400); 3. ...do something with VC0706 -> This worked 4. Serial2.end(); -> Here stopped the program! 5. delay(1000); 6. Serial2.begin(115400); 7. dela...

Go to advanced search