Thanks for the response.
Here is the terminal output from VS Code.
It might be worth noting that to get this started I included the CMakeList.txt from the MicroPython master repos and also the "board" folder from there. otherwise, it wouldn't start the compile at all.
Search found 5 matches
- Tue Mar 09, 2021 12:40 pm
- Forum: Programs, Libraries and Tools
- Topic: Help me build micropython esp32!
- Replies: 4
- Views: 2162
- Tue Mar 09, 2021 12:29 am
- Forum: Programs, Libraries and Tools
- Topic: Help me build micropython esp32!
- Replies: 4
- Views: 2162
Help me build micropython esp32!
Can someone please help me/build for me a version of micropython for esp32. I cannot for the life of me get the esp-idf toolchain to work and build properly in linux. The git repository is here: https://github.com/bskp/micropython_esp32_mcpwm/tree/dev-esp32-mcpwm/ports/esp32 if someone can please he...
- Wed Mar 03, 2021 5:37 pm
- Forum: General Discussion and Questions
- Topic: press and hold button for an input.
- Replies: 2
- Views: 3062
press and hold button for an input.
Hi, I want to use a push-button to activate a feature but only after it has been pressed for x amount of seconds. to prevent accidental bumps etc. I've tried using the time.ticks_ms() but I can for the life of me get it to work. heres a snip of the code: def manual_set_mode(): global clock_set_mode ...
- Mon Mar 01, 2021 12:44 am
- Forum: General Discussion and Questions
- Topic: hardware i2c deprecated
- Replies: 13
- Views: 73298
Re: hardware i2c deprecated
ahh okay.
So if i specify a channel e.g:
i2c = machine.I2C(1, scl = machine.Pin(22), sda = machine.Pin(21), freq = 400000) then hopefully i should have some luck with that?
rather than st using 'deafault' settings?
So if i specify a channel e.g:
i2c = machine.I2C(1, scl = machine.Pin(22), sda = machine.Pin(21), freq = 400000) then hopefully i should have some luck with that?
rather than st using 'deafault' settings?
- Sun Feb 28, 2021 8:55 pm
- Forum: General Discussion and Questions
- Topic: hardware i2c deprecated
- Replies: 13
- Views: 73298
hardware i2c deprecated
Hi, i'm having an issue while trying to set the hardware i2c bus. the code I enter is: import machine i2c = machine.I2C(scl=machine.Pin(22), sda = machine.Pin(21)) the error message I get back is: Warning: I2C(-1, ...) is deprecated, use SoftI2C(...) instead is there something I'm missing while sett...