Hi,
Im just starting out with the PICs. Im currently using the PIC16F628 to play with.
My objective is to make an LED controller that has multiple light patterns, etc. Thanks to Nigel Goodwin's site and others I have that part covered. I will be using a momentary switch to change the patterns. Again, that has been adequately explained.
Now I am stuck on saving the pattern. That is, I want to be able to store pattern number 8 as the startup pattern instead of having to cycle through 7 other patterns every time I start up the LEDs.
My first guess is using the 128bytes of EEPROM, however I am more than willing to entertain other suggestions. I am sure this has been addressed, however I have been unsuccessful in my attempt to find the code or tutorial applicable.
Thanks,
Clayton
Im just starting out with the PICs. Im currently using the PIC16F628 to play with.
My objective is to make an LED controller that has multiple light patterns, etc. Thanks to Nigel Goodwin's site and others I have that part covered. I will be using a momentary switch to change the patterns. Again, that has been adequately explained.
Now I am stuck on saving the pattern. That is, I want to be able to store pattern number 8 as the startup pattern instead of having to cycle through 7 other patterns every time I start up the LEDs.
My first guess is using the 128bytes of EEPROM, however I am more than willing to entertain other suggestions. I am sure this has been addressed, however I have been unsuccessful in my attempt to find the code or tutorial applicable.
Thanks,
Clayton