Switch JSON data by existing G/M code
jimmychiu last edited by
arduino <--------> RepRapFirmware <-------->DWC
If I want to send json command from arduino to DWC, is any RRF's parameter can be stored data by existing G/M code? And DWC get json data by G/M code.
what is in the JSON object, and what do you want DWC to do with it when it gets it?
As RepRapFirmware is running on a controller that (probably) has a mass storage device (i.e. SD card). the JSON object could be put there?
jimmychiu last edited by jimmychiu
When variables are added to the gcode meta commands you will be able to use the arduino to set user variables for those fields and then write a DWC plugin to display them.
If you wanted to do that before variables are implemented you could either:
- hack a work around by using fields that exist in the object model (things like settings for an axis that you did not use and was hidden).
- write the file to the SD and and then have your display plugin read the file