Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Webmite Heartbear
Author | Message | ||||
Dinosaur Guru Joined: 12/08/2011 Location: AustraliaPosts: 311 |
Hi all When no monitor is connected, and the Wifi link is turned off, then the only sign of life is the heartbeat. I noticed different rates of blinking and when for some reason my program stops, the heartbeat disappears altogether. Yet I can CTRl C to get the prompt if I reconnect the monitor. Can someone please explain the logic behind the heartbeat, as to what slows it and when/why does it stop. Regards Hervey Bay Qld. |
||||
Dinosaur Guru Joined: 12/08/2011 Location: AustraliaPosts: 311 |
Hi All I guess no-one can help on that, so... The next question is, using the on board led for my own version of heartbeat. But, when I disable the heartbeat (and that works) and try to use GP25 I get errors. [54] SetPin gp25,dout Error : Pin 43/R: is invalid Reading posts from about a year ago showed someone using the on board led. Has something changed in the later versions ? Regards Hervey Bay Qld. |
||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2135 |
That works on the other Picos but on the WebMite I think GP25 goes to the WiFi module. The heartbeat led is connected the WiFi module, so ON/OFF are the only options. Edited 2023-12-13 12:18 by phil99 |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6098 |
From the manual The heartbeat can be turned on/off but not otherwise controlled in Basic. It beats slowly when not connected and then faster when connected to the network. This was done to make it easier to diagnose headless installations. GP25 is only available in standard and VGA picomites The heartbeat is controlled by one of the system timers so if the heartbeat has stopped, one of the timers has stopped. RTC and settick etc will also have stopped. Jim VK7JH MMedit MMBasic Help |
||||
Dinosaur Guru Joined: 12/08/2011 Location: AustraliaPosts: 311 |
Hi All Thanks for that, I can stop trying to make my own work. One problem I have is that the program is still under the impression that it is sending to the Rpi-Zero, but the Rpi-Zero is not receiving anything. And you guessed it, the Heartbeat light was stopped. Regards Hervey Bay Qld. |
||||
Dinosaur Guru Joined: 12/08/2011 Location: AustraliaPosts: 311 |
Hi All I feel the goal posts moving Installed the latest Beta WebmiteV5.08.00b4.uf2 Now I get errors I didn't previously. > option rtc enable Error : Invalid Option [52] SetPin GP18,CIN 'we are counting Amp Hour pulses Error : Invalid configuration Yet SetPin GP22,CIN doesn't create an error Regards Hervey Bay Qld. |
||||
Dinosaur Guru Joined: 12/08/2011 Location: AustraliaPosts: 311 |
Hi All Apologies, forgot to reset all the options before running program. Regards Hervey Bay Qld. |
||||
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9307 |
Very easy to do! I speak from experience on that one also! Smoke makes things work. When the smoke gets out, it stops! |
||||
Print this page |