Search found 9 matches

by jk007
Sat Mar 28, 2020 1:08 am
Forum: MicroPython pyboard
Topic: Counting mode of pyb1.1 Timer
Replies: 2
Views: 1956

Re: Counting mode of pyb1.1 Timer

That's what I need.
thank you!
by jk007
Fri Mar 27, 2020 2:06 am
Forum: MicroPython pyboard
Topic: Counting mode of pyb1.1 Timer
Replies: 2
Views: 1956

Counting mode of pyb1.1 Timer

I want to use the counting function of pyb1.1 timer. Unfortunately, I didn't use it in the experiment. I browsed the chapter about timer on the official website, but I didn't understand how to use timer.IC, timer.enc_A, timer.enc_B. who has used or can provide an example? Where can I read the value ...
by jk007
Sat Mar 21, 2020 1:01 am
Forum: MicroPython pyboard
Topic: UART interrupt received data exceeds the buffer size
Replies: 3
Views: 3520

Re: UART interrupt received data exceeds the buffer size

Thank you very much for your answer. I used the asynchronous process recommended by you and solved my difficulties. Thank you again :lol:
by jk007
Wed Mar 18, 2020 8:01 am
Forum: MicroPython pyboard
Topic: UART interrupt received data exceeds the buffer size
Replies: 3
Views: 3520

Re: UART interrupt received data exceeds the buffer size

Sorry, the code indentation is invalid after release
by jk007
Wed Mar 18, 2020 8:00 am
Forum: MicroPython pyboard
Topic: UART interrupt received data exceeds the buffer size
Replies: 3
Views: 3520

UART interrupt received data exceeds the buffer size

Hi, I use UART(6) of pyb1.1,Firmware version is V1.11. The code is as follows #------------------------------------------------------------------ from pyb import UART,Switch WT901_ISR_flag = 0 key = Switch() def WT901_ISR(t): global WT901_ISR_flag WT901_ISR_flag = 1 WT901 = UART(6,9600) WT901.init(b...
by jk007
Thu Nov 21, 2019 1:42 am
Forum: MicroPython pyboard
Topic: Use of timers
Replies: 6
Views: 3566

Re: Use of timers

It's because of the need for accuracy that I think of using timers. I'll try to find out if there's a good solution
by jk007
Wed Nov 20, 2019 2:38 pm
Forum: MicroPython pyboard
Topic: Use of timers
Replies: 6
Views: 3566

Use of timers

Can I use the timer of pyb1.1 as the fixed length controller? I have a 1.8 ° stepper motor and stepper motor driver. I send 200 pulses to the driver. The stepper motor can rotate 360 °. I want to concede that the stepper motor will stop after 3.5 turns (700 pulses are needed). Can pyb1.1 be realized...
by jk007
Thu Nov 14, 2019 6:10 am
Forum: MicroPython pyboard
Topic: UART function
Replies: 2
Views: 2173

Re: UART function

OK, thank you. I'll try
by jk007
Tue Nov 12, 2019 2:11 am
Forum: MicroPython pyboard
Topic: UART function
Replies: 2
Views: 2173

UART function

Hello, I'm afraid that I'm from China. I'm using pyb1.1. When using the official firmware version v1.93, UART (2) can use UART.readline() to read a row of data normally, but this version can't use ssd1306. When using the official firmware version v1.11, ssd1306 can be driven, but the data obtained b...