This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp [2018/09/01 08:49] jeff MEGA verbage improved |
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 of 512KB of RAM (4 times as much as for the PRO and the MINI). Memory limitations are much less of a challenge when scripting for the MEGA. | + | |
- | + | ||
- | ====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]] | + | |