Greetings
-
- Posts: 7
- Joined: Mon Feb 08, 2021 9:12 pm
- cicciocb
- Site Admin
- Posts: 1964
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 422 times
- Been thanked: 1310 times
- Contact:
Re: Greetings
Good morning all,
I'm brand new here (and to Annex) so thought I would say a quick hello.
Also I have a "newbie" problem I'm having trouble solving: I've successfully loaded up a D1 mini with a copy of Annex and can communicate with it serially via the USB or over the air via it's URL on my LAN. My issue is how do I observe the output of PRINT if I,m working over the LAN? I've got two browser windows open side by side, one pointing to Editor and one pointing to Output however if I run something dead simple such as:
FOR a = 0 TO 4
PRINT "Counter value is "
PRINT a
NEXT
I don't get any output in the Output window.
However if I connect via USB I can see output in the serial monitor.
Can anybody tell me what I'm doing wrong and how to get Print into the Output window (no matter how embarrassingly stupid)
Cheers
JohnS
I'm brand new here (and to Annex) so thought I would say a quick hello.
Also I have a "newbie" problem I'm having trouble solving: I've successfully loaded up a D1 mini with a copy of Annex and can communicate with it serially via the USB or over the air via it's URL on my LAN. My issue is how do I observe the output of PRINT if I,m working over the LAN? I've got two browser windows open side by side, one pointing to Editor and one pointing to Output however if I run something dead simple such as:
FOR a = 0 TO 4
PRINT "Counter value is "
PRINT a
NEXT
I don't get any output in the Output window.
However if I connect via USB I can see output in the serial monitor.
Can anybody tell me what I'm doing wrong and how to get Print into the Output window (no matter how embarrassingly stupid)
Cheers
JohnS
- Electroguard
- Posts: 846
- Joined: Mon Feb 08, 2021 6:22 pm
- Has thanked: 272 times
- Been thanked: 320 times
Re: Greetings
Hi JohnS,
Print is only for when there is a physical serial connection.
Wlog displays in the Editors Log window via wifi.
So substituting WLOG for PRINT in your script will send the output to the Editor Log window in browser.
Print is only for when there is a physical serial connection.
Wlog displays in the Editors Log window via wifi.
So substituting WLOG for PRINT in your script will send the output to the Editor Log window in browser.
Re: Greetings
Hi Electroguard,
Thanks for the tip, I'm slowly working through the tutorials and have just come across this in the HTML section. I've even got some output into the Output window, just need to learn a bit of HTML now.
BTW I'm amazed and impressed at what you guys have put together here, congratulations to all involved.
Thanks for the tip, I'm slowly working through the tutorials and have just come across this in the HTML section. I've even got some output into the Output window, just need to learn a bit of HTML now.
BTW I'm amazed and impressed at what you guys have put together here, congratulations to all involved.