Tell us about yourself!
I have no idea why the two versions of your Offline GRBL controller work differently with BCNC. I'm not doing anything differently than you were doing, as far as I know. I will see how my Offline controller works with my PC and let you know what I find.
David,I don't see where in your code you recieve feedback from the GRBL controller and report position on the LCD. Can you explain where in your code that function resides? Or do I misunderstand? Is it BCNC that is displaying coordinates on your PC? In which case, I don't see how my code works differently than yours. If I look at the serial output of the GRBL controller whilst controlling the CNC with "our" offline controller, I can certainly see the messages output by the GRBL controller.As far as github: there are tutorials online on how to setup a github account. I found the most difficult thing was to pick a license for your code. If you don't have any preference for this, I suggest the Apache license, as it's quite permissive.Bill
I'm just a couple of years older than you, at 71. I'm a retired embedded systems programmer. I'm in New Jersey, I just use that domain because it was available. When you put your code on Github, I suggest putting your version as the first version, and then using my version as an update to your code. Oh, and I think you should put your keypad artwork up, possibly with an update that changes the '5' and '0' keys to match my code. ('0' key is currently a no-op)'
Visit the link in my comment.
1) The GRBL controller is typically powered by a 24 volt power supply (mine was supplied with the machine). The GRBL controller regulates this down to 12v and 5v. You can use the 5v output to power the Nano, which means you don't need a USB hub or a computer attached.2) no computer needed, unless you want to make something. The offline controlleris sufficient for moving the cutting head around for testing purposes. I used it to testthe installation of my limit switches.3) David's code works without any modifications (by my code is better).
There is something wrong with your serial port, or you haven't got the right one selected, or your serial port driver is faulty.
See my variant on the Geiger Watch: https://github.com/wfdudley/T-watch-2020It has a weather app, and many many more.
Download an updated version of the source. I inadvertantly broke compiles during an update. It's been fixedfor a few days now.
I've added more apps to my watch code: a Mandelbrot explorer, and a calendar.
see my code here: https://github.com/wfdudley/T-watch-2020
I added Conway's game of life. https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
Dan,Thanks for your kind comment. I just added a scientific reverse Polish calculator. I'll upload the changes soon. Gotta go fix my car, first.
Dan, thanks a lot for your efforts. It's a great starting point for watch code. I've taken your code, and expanded/rewritten much of it. I've got sleep working, including wake on alarm. I've added gesture recognition (the touch sensor says it does this, but it doesn't.) Other functions: get time from NTP; connect to any one multiple WiFi access points; a simple "solve the maze" game; an MQTT client; an "analog" watch face (in addition to modifiedversions of your two watch faces); settings dialogs using LVGL. My fork is here:https://github.com/wfdudley/T-watch-2020