General area when it fits no where else

Moderator: Mmiscool

User avatar
By russm
#57469 wprint and html are quite a bit different than print and serialprintln (serial output only). serialprintln will only print to the serial port. print will throw whatever is printed to the browser and serial port simultaneously. wprint and html will use formatting and htmlvar to update the GUI, not just print more lines of data at the bottom.
User avatar
By PhilTilson
#57757
It seems that an audit of all the commands and the documentation might be in order.

The commands.ino file and the eval.ino file are the 2 places in the source code that would have to be looked at.

I have been a bit bussy lately but think it would be valuable to do.

I try as hard as i can to keep the docs up to date. As for the html command. It is 100% interchangeable with the wprint command.


Hi Michael -

I have had a trawl through the two files you mention. I am not into writing interpreters(!) but I was able to extract a number of commands/functions that I think may be missing from the documentation. Some of these may well be 'internal' and thus inappropriate, but I can't tell the difference! So I have listed them below, and if you would care to comment, I will update the 'manual' and republish.
Code: Select allDEBUG.GETCHANGE / .GETEVENT / .GETVAR / ,OBJECT / .SETVAR
DEBUGON
DEBUGOFF
DEL.DAT
EVAL
12C.SETUP
INTERRUPT
IR.SEND
JSCALL
MGTT.BRANCH / .MSG / .PUBLISH / .SETUP / .SUBSCRIBE
OLED.CIRCLE / .CIRCLE.FILL / .COLOR / .FONT / .LINE / .PRINT / RECT / .RECT.FILL
PWMFREQ
SPI.SETFREQUENCY / .SETMODE
TFT.BAR / .BUTTON / .CHECKBOX / .LABEL / .RADIO / .TOGGLE
TFT.RECT.FILL
TFT.TEXT.FONT
TFT.TOUCH.CALIBRATE
TIMERCB
VARS
WEBOBJ
WEBSOCKETCHANGEBRANCH
WEBSOCKETEVENTBRANCH
WEBSOCKETPRINT
WIFI.BSSID


There are also some apparent equivalents:

Code: Select allDROPDOWN == LISTBOX
HTML == WPRINT (as discussed)
NEO.CLS==NEOCLS
NEO.STRIPCOLOR==NEOSTRIPCOLOR
REBOOT==RESTART
TIME.SETUP==TIMESETUP


I am not sure that some of these - eg NEO.CLS==NEOCLS - are a good idea. It might be better to stick to one format only. But maybe you have to leave them in for compatibility with older versions?

Anyway, I would welcome your comments, then I'll get to work!

Phil