Search found 5 matches

by dahult
Thu Feb 10, 2022 6:02 pm
Forum: General Discussion and Questions
Topic: PWM in 1.18 has changed
Replies: 4
Views: 8061

Re: PWM in 1.18 has changed

Thanks
by dahult
Fri Jan 21, 2022 10:34 pm
Forum: General Discussion and Questions
Topic: PWM in 1.18 has changed
Replies: 4
Views: 8061

PWM in 1.18 has changed

The 1.18 update is great but I am having trouble getting PWM to work on esp32's with 1.18. I looked at the source and see that it has gone through a major update/upgrade from 1.17 to 1.18 but am not a c++ programmer. I am using the following simple code to test PWM: import machine xx = machine.Pin(2...
by dahult
Thu May 21, 2020 12:15 am
Forum: Programs, Libraries and Tools
Topic: usocket didn't find SO_BROADCAST
Replies: 3
Views: 3094

Re: usocket didn't find SO_BROADCAST

Update on my post. The Recvr code I posted earlier does work on micropython 1.12 (both the Sndr and Recvr broadcast code work fine). At the same time I upgraded my esp32's and esp8266's to 1.12 I also I replaced my network eqpt with a Unify Dream Machine (router, switch & access point all in one). I...
by dahult
Sat May 16, 2020 10:24 pm
Forum: Programs, Libraries and Tools
Topic: usocket didn't find SO_BROADCAST
Replies: 3
Views: 3094

Re: usocket didn't find SO_BROADCAST

This is not a direct answer to Chaopi's question but additional info and a related request for help. The SO_BROADCAST option has not been in the socket library since at least 1.9.4. Even though most socket examples show setting the socket option for broadcasts, I have been able to send and receive b...
by dahult
Tue Oct 22, 2019 5:38 pm
Forum: ESP32 boards
Topic: HelTec WIFI KIT 32 and MicroPython
Replies: 10
Views: 20689

Re: HelTec WIFI KIT 32 and MicroPython

Thanks vairamani for your post. I was having trouble getting the display on my Heltec-Esp32-Lora working with Micropython until I saw your post. I don't know how you found this but defining SDA and SCL as Pin.OUT with Pin.PULLUP made the difference for me. I have never had to use software Pin.PULL_U...