Triode
Well-Known Member
I made a light show controller for some friends, currently to reprogram it I have to edit the PIC code and upload it for them. I can make software to design the show on a computer, I'm just trying to figure out the least cumbersome way to let them use such a program and upload the routine to the permanent memory of the chip, preferably without them having to know about coding or use several programs. The light show data is just an array of times paired with codes for changes in the current light state to occur, so essentially I need to load a new array into the chip's flash memory. Whether that can only be done by completely rewriting the chip or not I'm not sure. One option I'm considering is connecting the PIC as an HID device (using a pic 18F4550 or 2550), using an example I've followed before, and a PIC programming language with "persistent" variables which don't clear when the chip shuts down and just having it upload the array to that while connected to the PIC as an HID device. I could probably cobble together some way of doing this, but I'm sure there is a much more professional and sensible way I'm not aware of.
Last edited: