dhiltonp / hexbright

The easiest way to start programming your hexbright.
BSD 2-Clause "Simplified" License
124 stars 114 forks source link

Add and update bootloader and a fix for up_n_down #27

Closed ptesarik closed 11 years ago

ptesarik commented 11 years ago

The biggest part is a cleanup of the bootloader. I was able to reduce the size considerably. I am currently using the extra space for the MONITOR feature, but others may implement other features (or get more space for the main program). Either way, I simply want to share this optimization with everybody.

There is one additional commit to up_n_down.ino. After 5 clicks, it doesn't turn off (glow mode was disabled). To be honest, I am not quite sure how DPIN_PWR got activated, but the MCU was definitely still running after I locked the light with 5 clicks.

dhiltonp commented 11 years ago

Looks good :).

Would you be willing to create a README.MD in hardware/hexbright describing how to upload the bootloader through arduino, as well as a short description of options people may be interested in changing?

ptesarik commented 11 years ago

On Tue, 09 Jul 2013 09:41:12 -0700 David Hilton notifications@github.com wrote:

Looks good :).

Would you be willing to create a README.MD in hardware/hexbright describing how to upload the bootloader through arduino, as well as a short description of options people may be interested in changing?

OK, will do. Although this is going to be a long post, because the exact process depends on the exact AVR programmer you're using (and you'd better have some experience).

So long, Petr Tesarik

dhiltonp commented 11 years ago

Thanks :)