User Tools

Site Tools

한국어

logicpython:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
logicpython:index [2026/04/10 02:54] – [System and Debug] adminlogicpython:index [2026/04/14 05:15] (current) – [Modbus RTU Communication] mfranklin
Line 1: Line 1:
-====== LogicPython User Documentation ======+====== LogicPython ======
  
-LogicPython is a browser-based Python development environment for RP2350 hardware+LogicPython is a browser-based Python development environment for microcontrollers
-The target device must be an RP2350-based device with LogicPython firmware installed.+The target device must be a microcontroller board device with LogicPython firmware installed.
 You can edit code, deploy to the device, run programs, monitor output, and use AI-assisted editing. You can edit code, deploy to the device, run programs, monitor output, and use AI-assisted editing.
  
Line 15: Line 15:
 ===== CUBLOC API Reference ===== ===== CUBLOC API Reference =====
  
-The CUBLOC API pages are grouped by category. Each entry links to a dedicated page and includes a short description.+LogicPython includes a [[cubloc:index|CUBLOC]] API for those who wish to leverage their familiarity with the [[cubloc:index|CUBLOC]] platform.
  
 ==== Analog Input ==== ==== Analog Input ====
Line 36: Line 36:
 ==== Memory and Storage ==== ==== Memory and Storage ====
  
-  * [[logicpython:cubloc_api:eeread|EERead]] - Read bytes from per-''address'' backing files named like _ee_0000+  * [[logicpython:cubloc_api:eeread|EERead]] - Read data from a non-volatile memory
-  * [[logicpython:cubloc_api:eewrite|EEWrite]] - Write bytes into per-''address'' backing files named like _ee_0000.+  * [[logicpython:cubloc_api:eewrite|EEWrite]] - Write data to a non-volatile memory.
  
  
-==== PWM and Counters ====+==== PWM ====
  
   * [[logicpython:cubloc_api:pwm|Pwm]] - ''Output'' a PWM waveform on the specified ''channel''.   * [[logicpython:cubloc_api:pwm|Pwm]] - ''Output'' a PWM waveform on the specified ''channel''.
   * [[logicpython:cubloc_api:pwmoff|PwmOff]] - Stop PWM output on the specified ''channel''.   * [[logicpython:cubloc_api:pwmoff|PwmOff]] - Stop PWM output on the specified ''channel''.
  
-==== MDOBUS RTU Communication ====+==== Modbus RTU Process ====
  
-  * [[logicpython:cubloc_api:opencom|OpenCom]] - Enable serial communication on a CUBLOC-style ''channel''. 
   * [[logicpython:cubloc_api:setmodbus|SetModbus]] - Start the LogicPython Modbus RTU slave worker using a pre-opened UART ''channel''.   * [[logicpython:cubloc_api:setmodbus|SetModbus]] - Start the LogicPython Modbus RTU slave worker using a pre-opened UART ''channel''.
  
Line 58: Line 57:
  
  
- 
-==== Timing and Delays ==== 
- 
-  * [[logicpython:cubloc_api:delay|Delay]] - ''Delay'' execution for the given number of ''milliseconds''. 
-  * [[logicpython:cubloc_api:ontimer|OnTimer]] - Register a periodic timer ''callback'' using CUBLOC ''OnTimer'' semantics. 
-  * [[logicpython:cubloc_api:pause|Pause]] - ''Pause'' execution for the given interval in ''milliseconds''. 
-  * [[logicpython:cubloc_api:setontimer|SetOnTimer]] - Enable or disable execution of callbacks registered with ''OnTimer''. 
-  * [[logicpython:cubloc_api:udelay|UDelay]] - ''Delay'' execution for the given number of ''microseconds''. 
-  * [[logicpython:cubloc_api:wait|Wait]] - ''Delay'' execution for the given interval in ''milliseconds''. 
  
  
logicpython/index.1775789679.txt.gz · Last modified: by admin