Search found 2 matches

by kjk25
Sat Sep 25, 2021 6:49 pm
Forum: General Discussion and Questions
Topic: CLI Command line interface with and threads
Replies: 0
Views: 878

CLI Command line interface with and threads

Hi hope someone can help, I try to get a cli interface over USB like the MP prompt >>> in my programm to enter in commands from CLI the principe is simple call input() and wait for the command and execute it. so i can remote controll the device. >here the command but: all other threads slow down i g...
by kjk25
Sun Sep 12, 2021 7:34 pm
Forum: General Discussion and Questions
Topic: TMC2209 UART - HELP
Replies: 1
Views: 3082

Re: TMC2209 UART - HELP

Hi, thank you for the code , works now on my Lolin32 import machine from machine import Pin from machine import UART from time import sleep #DIAG_PIN = Pin(13,Pin.IN) #, Pin.PULL_UP)input STALL motor EN_PIN = Pin(26,Pin.OUT) #output Enable DIR_PIN = Pin(14,Pin.OUT) #output Direction STEP_PIN = Pin(2...