Search found 7 matches

by y1ngkhun
Sun Jan 16, 2022 8:21 am
Forum: General Discussion and Questions
Topic: can't stop Timer in Thonny
Replies: 7
Views: 15401

Re: can't stop Timer in Thonny

Roberthh wrote:
Sat Jan 15, 2022 12:17 pm
That‘s indeed the case. CTRL-C raises a Keyboard interrupt exception, unless that is disabled. CTRL-D causes a reboot, which should stop timers and other activities, like PWM.
CTRL-D for reboot then my esp32 go back to main.py timers loop again :(
by y1ngkhun
Thu Jan 13, 2022 7:28 am
Forum: General Discussion and Questions
Topic: can't stop Timer in Thonny
Replies: 7
Views: 15401

Re: can't stop Timer in Thonny

I used esp32, micropython 1.17, thonny 3.3.13
by y1ngkhun
Wed Jan 12, 2022 5:57 am
Forum: General Discussion and Questions
Topic: can't stop Timer in Thonny
Replies: 7
Views: 15401

can't stop Timer in Thonny

I just coding micropython useing Timer function Try to Stop/Restart backend (Ctrl+F2) then Interrupt execution (Ctrl+C) but its look like Timer function not stop running device can't save or do anything IDE warning "Device is Busy - can't perform this action now. Please wait or cancel current work a...
by y1ngkhun
Wed Dec 01, 2021 2:05 pm
Forum: ESP8266 boards
Topic: esp8266 UART(0, 9600) not work
Replies: 2
Views: 5807

esp8266 UART(0, 9600) not work

Hi

my esp8266 NodeMCU
UART 0 baudrate 9600 not working

Code: Select all

from machine import UART
uart = UART(0, 9600)
I get freezes after runung please Help Thanks
by y1ngkhun
Thu Jul 08, 2021 9:18 am
Forum: MicroPython pyboard
Topic: question about XY Joystick Module + ESP32
Replies: 3
Views: 3910

Re: question about XY Joystick Module + ESP32

jimmo wrote:
Thu Jul 08, 2021 7:58 am
y1ngkhun wrote:
Thu Jul 08, 2021 7:54 am
I got wrong value when move right and move down do I miss something ?
How have you wired up the joystick? Can you test it directly with a multimeter (i.e. in resistance measurement mode).
ohhh.. I just make its work change vin(5v) to 3v :oops:

Thank You for reply :D
by y1ngkhun
Thu Jul 08, 2021 8:09 am
Forum: MicroPython pyboard
Topic: question about XY Joystick Module + ESP32
Replies: 3
Views: 3910

Re: question about XY Joystick Module + ESP32

I got wrong value when move right and move down do I miss something ? How have you wired up the joystick? Can you test it directly with a multimeter (i.e. in resistance measurement mode). I have connected joystick like this https://i.imgur.com/ZF0dTs0.jpg idk how to resistance measurement mode Im r...
by y1ngkhun
Thu Jul 08, 2021 7:54 am
Forum: MicroPython pyboard
Topic: question about XY Joystick Module + ESP32
Replies: 3
Views: 3910

question about XY Joystick Module + ESP32

Hi I have some question about XY Joystick Module + ESP32 from machine import Pin, ADC x = ADC(Pin(36)) y = ADC(Pin(39)) x.atten(machine.ADC.ATTN_11DB) y.atten(machine.ADC.ATTN_11DB) while True: print(x.read(), y.read()) time.sleep(1) this is my action not move 2691 2726 move left 0 2722 move up 2721...