Search found 37 matches
- Wed Mar 31, 2021 6:50 pm
- Forum: ESP RainMaker
- Topic: rainmaker cli fail
- Replies: 1
- Views: 6243
Re: rainmaker cli fail
What may have caused the problem is that I installed a virtual environment for doing some python GUI work. I've uninstalled the environment (pip uninstall virtualenv) and reinstalled python with the latest release. All fixed
- Wed Mar 31, 2021 2:29 pm
- Forum: ESP RainMaker
- Topic: rainmaker cli fail
- Replies: 1
- Views: 6243
rainmaker cli fail
Hi there, I've come back to the rainmaker part of my project and the CLI is now failing to run. I've reinstalled rainmaker and rerun the clip setup requirements.txt but I get this when trying to login (or any other cli command. Any ideas>? I ran: ./rainmaker.py login <my email address> Failed to imp...
- Sun Mar 28, 2021 7:29 pm
- Forum: ESP-IDF
- Topic: default vs user event loops
- Replies: 0
- Views: 1986
default vs user event loops
I'm developing a new system and will be using event loops. There application needs to make sure that some events have default actions but that specific modes take over handling this events. What I need is to register a handler when in certain mode, de-register when that mode is complete but know tha...
- Tue Mar 16, 2021 4:52 pm
- Forum: ESP-IDF
- Topic: Total loss with CMakeLists.txt in project with component
- Replies: 5
- Views: 5494
Re: Total loss with CMakeLists.txt in project with component
Ok, so I've added "/Users/colinives/esp/esp-idf/components/u8g2/csrc" into the components CMakelists.txt: INCLUDE_DIRS "include" "/Users/colinives/esp/esp-idf/components/u8g2/csrc" And I'm not getting the "u8g2.h" now found error but instead: (snippet) > Executing task: cmake --build . < [1/8] Perfo...
- Tue Mar 16, 2021 3:59 pm
- Forum: ESP-IDF
- Topic: Total loss with CMakeLists.txt in project with component
- Replies: 5
- Views: 5494
Re: Total loss with CMakeLists.txt in project with component
Thank you for that, I have read all these but I'm clearly missing what I need to do. I've just tried adding: set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/components/u8g2) to the project CMAkeLists.txt - but without any change. I think what I did misunderstand is that my earlier reading was that all compo...
- Tue Mar 16, 2021 3:25 pm
- Forum: ESP-IDF
- Topic: Total loss with CMakeLists.txt in project with component
- Replies: 5
- Views: 5494
Total loss with CMakeLists.txt in project with component
Hi, I've spent a week trying to get a simple project that works with all the code in one level (all with the main.c) but as soon as I take the display portion (u8g2) out as a component it fails to find the u8g2 library I've cloned into esp-idf/components. Its giving me : ../components/display/includ...
- Tue Mar 16, 2021 9:08 am
- Forum: ESP-IDF
- Topic: U8G2 runs very slowly
- Replies: 2
- Views: 4366
Re: U8G2 runs very slowly
"Doh" Of course the clock rate was set to only 50khz - no wonder it was running slow. I guess I didn't check there because it didn't occur to me it would bet set at walking pace. Ho Hum The solution is in the u8g2_es32_hal.c: Was: dev_config.clock_speed_hz = 50000; Changed to: u8gv_config.clock_spee...
- Tue Mar 09, 2021 5:26 pm
- Forum: ESP-IDF
- Topic: U8G2 runs very slowly
- Replies: 2
- Views: 4366
U8G2 runs very slowly
So, the good news what the driver problem has been solved but, as is often the way, things move forward then hold! I'm running a 128x64 OLED with SPI For testing, I'm drawing a 10 pixel circle and moving on one pixel every loop - I started with a delay but have now removed it: The problem I'm having...
- Tue Mar 09, 2021 4:30 pm
- Forum: ESP-IDF
- Topic: U8G2: spi_bus_initialize(500): intr flag not allowed
- Replies: 2
- Views: 4595
Re: U8G2: spi_bus_initialize(500): intr flag not allowed
Fast and awesome result. Amazing - I need to look at why now!
I thought I had the latest version!
Thanks again
I thought I had the latest version!
Thanks again
- Tue Mar 09, 2021 3:54 pm
- Forum: ESP-IDF
- Topic: U8G2: spi_bus_initialize(500): intr flag not allowed
- Replies: 2
- Views: 4595
U8G2: spi_bus_initialize(500): intr flag not allowed
Hi there, Running a Devkit Wrover B using VSCode getting the U8G2 example code running an SPI SSD1306 - tested the board with Arduino and sample code there and it all works fine. When trying to get it working for my main project: Example code: #include <driver/gpio.h> #include <driver/spi_master.h> ...