Search found 25 matches
- Mon Feb 26, 2018 9:03 am
- Forum: ESP-IDF
- Topic: Problem with SPI...
- Replies: 5
- Views: 9594
Re: Problemi with SPI...
Yes, I know, but I asked it because if on Arduino I execute only SPI.begin(); // Init SPI bus mfrc522.PCD_Init(); // Init MFRC522 I already see the signal in MISO pin. On ESP32 the signal is always flat and then I tought that can be a wrong initialization of SPI bus and not a problem into the code. ...
- Sat Feb 24, 2018 8:59 pm
- Forum: ESP-IDF
- Topic: Problem with SPI...
- Replies: 5
- Views: 9594
Problem with SPI...
Hi, I'm trying to use MFCRC522 whith this code: https://github.com/blmhemu/ESP32-MFRC522 . It doesn't work, but after a lot of tests without satisfaction, I've tried to analyze the signal with the osccilloscope. The result is that the signals are flat in all SPI configured pins. So, I've wired the M...
- Sat Feb 24, 2018 11:47 am
- Forum: Sample Code
- Topic: [Sample]: ESP-IDF, C++ and MFRC522
- Replies: 1
- Views: 6911
- Thu Feb 22, 2018 10:03 am
- Forum: ESP-IDF
- Topic: [SOLVED]Simple while freeze loop...
- Replies: 1
- Views: 3328
Re: Simple while freeze loop...
Pardon, I understanding.
The problem is not created from this loop but from another task.
Stefano
The problem is not created from this loop but from another task.
Stefano
- Thu Feb 22, 2018 9:42 am
- Forum: ESP-IDF
- Topic: [SOLVED]Simple while freeze loop...
- Replies: 1
- Views: 3328
[SOLVED]Simple while freeze loop...
Hi, I've a question... Why this code freeze the loop? printf("Start\n"); while(1) //while (!gpio_get_level(CLOSESWITCH)) { printf("%d\n", curServoPos); //curServoPos -= changeDelta; /*ledc_set_duty(LEDC_HIGH_SPEED_MODE, LEDC_CHANNEL_0, curServoPos); ledc_update_duty(LEDC_HIGH_SPEED_MODE, LEDC_CHANNE...
- Wed Feb 21, 2018 3:28 pm
- Forum: ESP-IDF
- Topic: Setting connection data in c++
- Replies: 6
- Views: 8628
Re: Setting connection data in c++
Yes, I know, but I think that to learn C++ maybe is better starting from desktop applications.I didn't want to stop you. It's just that you can find more (esp32) examples written in C instead of C++.
I have to learn a lot again.
Stefano
- Wed Feb 21, 2018 1:36 pm
- Forum: ESP-IDF
- Topic: Setting connection data in c++
- Replies: 6
- Views: 8628
Re: Setting connection data in c++
Many thanks for answer.
Stefano
Infact, now I've decided to develop my project in pure CBtw. embedded programming is not a good start to learn C++.
Stefano
- Tue Feb 20, 2018 11:21 am
- Forum: ESP-IDF
- Topic: Setting connection data in c++
- Replies: 6
- Views: 8628
Re: Setting connection data in c++
Hi, many thanks for link. Now I've solved this issue, but I've another problem. When I compile my class, I've these error: $ make LD build/nvs.elf /home/stefano/Programs/ESP32/esempi/WiFiConnect/build/main/libmain.a(wificonn.o):(.literal._ZN8WIFIConn13event_handlerEPvP14system_event_t+0x0): undefine...
- Tue Feb 20, 2018 9:44 am
- Forum: ESP-IDF
- Topic: Setting connection data in c++
- Replies: 6
- Views: 8628
Setting connection data in c++
Hi, I'm studying C++ and I'm trying to write a class to connect to AP using esp-idf. During compilation, I've these errors: $ make CXX build/main/wificonn.o In file included from /home/stefano/Programs/ESP32/.dev-tools/esp-idf/components/esp32/include/esp_timer.h:44:0, from /home/stefano/Programs/ES...
- Sat Feb 17, 2018 8:45 pm
- Forum: ESP-IDF
- Topic: esp-idf version...
- Replies: 4
- Views: 17305
Re: esp-idf version...
Many thanks for info
Stefano
Stefano