module:micropython:commandlinedispatcher:commandlinedispatcher
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
module:micropython:commandlinedispatcher:commandlinedispatcher [2021/12/18 10:24] – [Benutzung] omdevelop | module:micropython:commandlinedispatcher:commandlinedispatcher [2022/09/13 11:58] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 21: | Line 21: | ||
==== Software Stm32 (VSCode, ArduinoC++) ==== | ==== Software Stm32 (VSCode, ArduinoC++) ==== | ||
- | * a | + | * gesamtes MicroControlling der Hardware mit Stm32 in ArduinoC++ |
+ | * einzige Ausnahme: Ansteuerung mit Esp32(Uart, Bt, Wlan): SDCard(Spi) und LCDisplay(I2c) | ||
===== Benutzung ===== | ===== Benutzung ===== | ||
- | Beispiel für die Einbindung ... **....py** : | + | ===== Entwicklung ===== |
- | <code python> | + | |
- | </ | + | |
- | <code python> | ||
- | </ | ||
+ | ==== 211221 : CommandLineDispatcher (uP)==== | ||
- | ===== Entwicklung ===== | ||
- | ==== 211218 : Automatisierung ==== | + | |
+ | * Hardware(Usb-Uart-Converter): | ||
+ | * Hardware(gekreuzte RX/ | ||
+ | * CP2102(Rx, Tx, Gnd, 5V0) an ESP32(Uart1, | ||
+ | |||
+ | ==== 211220 : CommandLineDispatcher (uP)==== | ||
+ | * Hardware(Usb-Uart-Converter): | ||
+ | * Hardware(gekreuzte RX/ | ||
+ | * CP2102(Rx, Tx, Gnd, 5V0) an ESP32(Uart1, | ||
+ | * neues Modul: Esp32UartPCUC | ||
+ | |||
+ | ==== 211219 : CommandLineDispatcher (uP)==== | ||
+ | * Versuch, Uart0 (belegt unter VSCode mit WepRepl) als Daten-Rx/ | ||
+ | * Eventuell Pin1/Pin3 mit Transistor abkoppeln und als zusätzliche Uart0 benutzen | ||
+ | * PinSwitching: | ||
+ | * Daher: | ||
+ | * Esp32-Uart0 : WebRepl-Debug-Usb-PC-Kommunikation | ||
+ | * Esp32-Uart1 : UartPC(entsprechend Uart/ | ||
+ | * Esp32-Uart2 : UartUP(SubProcessorC++) mit Rx/ | ||
+ | |||
+ | ==== 211218 : Neues Module - Esp32Uart (uP)==== | ||
+ | * [[: | ||
+ | * Kapselung einer (der drei) Uarts des Esp32 | ||
+ | |||
+ | ==== 211218 : Automatisierung | ||
* Hinzunahme von CThread zur automatischen Abarbeitung der Commands in CommandList | * Hinzunahme von CThread zur automatischen Abarbeitung der Commands in CommandList | ||
+ | * Erzeugung CUart | ||
- | ==== 211217 : Basis ==== | + | ==== 211217 : Basis (uP) ==== |
* CCommand | * CCommand | ||
* CCommandList | * CCommandList | ||
+ | |||
+ | **Run-Ausgabe im Terminal:** | ||
+ | < | ||
+ | MicroPython v1.17 on 2021-09-02; ESP32 module with ESP32 | ||
+ | Type " | ||
+ | >>> | ||
+ | >>> | ||
+ | CheckCommandLineDispatcher: | ||
+ | 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: | ||
+ | >>> | ||
+ | </ | ||
===== Version ===== | ===== Version ===== |
module/micropython/commandlinedispatcher/commandlinedispatcher.1639819457.txt.gz · Last modified: 2021/12/18 11:24 (external edit)