User Tools

Site Tools


module:micropython:commandlinedispatcher:commandlinedispatcher

This is an old revision of the document!


CommandLineDispatcher

Übersicht

  • Modul CommandLineDispatcher Bestandteil von MultiInterfaceDispatcher

Hardware

  • Esp32(UnoBoard): Uart, Bt, Wlan
  • Stm32(F103C8T6): Uart, Spi, I2c, IOPin
  • Erweiterung (Esp32-Uart) mit Stm32F407 oder zweitem Stm32(F103C8T6) oder …
  • Kommunikation Esp32-Stm32 über Uart

Software Esp32 (VSCode, MicroPython)

  • CCommand: Command-Basisklasse

Software Stm32 (VSCode, ArduinoC++)

  • gesamtes MicroControlling der Hardware mit Stm32 in ArduinoC++
  • einzige Ausnahme: Ansteuerung mit Esp32(Uart, Bt, Wlan): SDCard(Spi) und LCDisplay(I2c)

Benutzung

Entwicklung

211218 : Neues Module - Esp32Uart (uP)

  • Esp32Uart mit CUart und CThread
  • Kapselung einer (der drei) Uarts des Esp32

211218 : Automatisierung (uP)

  • Hinzunahme von CThread zur automatischen Abarbeitung der Commands in CommandList
  • Erzeugung CUart

211217 : Basis (uP)

  • CCommand
  • CCommandList

Run-Ausgabe im Terminal:

MicroPython v1.17 on 2021-09-02; ESP32 module with ESP32
Type "help()" for more information.
>>> Running c:\Downloads\python\CommandLineDispatcher\CheckCommandLineDispatcher.py
>>>
CheckCommandLineDispatcher: begin        
CommandList[4]:
Command[MPA] Parameter[X] Parameter[1234]
Command[WPR] Parameter[X]
Command[MPR] Parameter[X] Parameter[-1234]
Command[WPR] Parameter[X]
@ MPA X 1234
.
@ WPR X
.
@ MPR X -1234
.
@ WPR X
CommandList[0]:
CheckCommandLineDispatcher: end
>>> 

Version

module/micropython/commandlinedispatcher/commandlinedispatcher.1639834744.txt.gz · Last modified: 2021/12/18 15:39 (external edit)