This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
uphp [2018/09/01 08:39] jeff created, using content from 'programming_the_wattmon' |
uphp [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Programming the Wattmon====== | + | ======uPHP====== |
- | "Programming" and " | + | The [[hardware: |
- | The Wattmon is built on a scripting language | + | This section contains an introduction and detailed guide for using the built in scripting language to customize the [[hardware: |
- | =====Why uPHP?===== | + | * [[uphp: |
- | First perhaps it would be good to explain a bit about how and why we chose PHP. The goal of the Wattmon is to provide a highly flexible platform that can be customized for pretty much any application imaginable, keeping in mind very low memory availability. | + | * [[uphp:uPHP Language Basics]] - Basic syntax |
- | The Wattmon interface is primarily browser based, and generates HTML pages on the fly from uPHP scripts. | + | * [[uphp:functions|uPHP Function Reference]] - The entire |
- | + | * [[uphp:modbus_functions|uPHP Serial and Modbus Functions]] - Serial and Modbus Functions | |
- | ====Challenges==== | + | |
- | + | ||
- | The biggest challenge with the scripting language is its memory limitation. | + | |
- | + | ||
- | The [[hardware:wattmons:WattmonMEGA]] processor has a total 512KB of RAM available and so the memory limitations are greatly reduced, and it is not as challenging when scripting. | + | |
- | + | ||
- | ====Benefits==== | + | |
- | + | ||
- | Having a scripting language that lets you modify and edit your program remotely is a very powerful thing. | + | |
- | + | ||
- | [[uphp: | + | |
- | + | ||
- | [[uphp:functions|uPHP Function Reference]] | + | |