Open garthanstey opened 5 years ago
I've started again today. Loaded the "blink" sketch to the Nano and all is ok. Reloaded my modified grbl file and again the $$ hasn't changed. I must be editing the wrong defaults.h file. Where else can it be?
Sorry, not sure I understand what your problem is and how can I help you. I just wrote the library, and there's no defaults.h there as far as I can remember. Also I don't know what $$ is , could you please elaborate a little bit more ? Thanks !
Davide
$$ Is the command you enter into a gcode device to get it to regurgitate the defaults stored in it. Preseting them is a time-saver when making small mods on new nanos. I've had no trouble burning to my nanos so I can only assume that the issue is that I'm editing the wrong defaults.h file in the grbl source code. Where else does Arduino look other than in documents/----/libraries. I created an example called grblplus and removed all previous examples. I edited the files I placed there but, though they seemed to compile and upload, the changes were not made. I tried to edit "report.c" to get the welcome message to include "laser" as an obvious giveaway. No joy. It must be the file I'm editing. Thanks for your interest.
I'm trying to change my A3 laser machine to a pen plotter for my autistic grandson. I converted one of my Nanos with a Plotter sketch recently and now that the conversion is imminent I am trying to modify the defaults for it and I make changes to the "defaults.h" file and it uploads with the usual flickering but when I look at the $$ nothing has changed. I renamed the file so that when it failed to compile I new I was in the right place. Why now and why not. Any help will be much appreciated