MGdriver - Off-time MultiGroup Firmware

**MGdriver - Off-time MultiGroup Firmware by odd, based on luxdrv030 by DrJones**

First of all, i want to thank DrJones for his great work

on the luxdrv and his permission to release this modified version :)

This is a multi group driver for Nanjg 105C, allowing you to change mode groups

without having to solder stars or reflashing the MCU.

Main differences to luxdrv030:

- REMOVED: Ramping mode

- REMOVED: Wear leveling

- CHANGED: OFFTime memory instead of ONTime memory

- ADDED: Multiple groups

- ADDED: Simple UI for switching group

To switch to the next group, do 15 or more fast presses,

the light will go and stay on low. Wait for the light

to turn off(after about 2sec) and switch it of whilie it´s off

to change to the next group or wait until it goes to low

again to cancel group changing.

Code can be viewed and downloaded here: http://codeviewer.org/view/code:531b

Recommended fuse settings: -Ulfuse:w:0x79:m -Uhfuse:w:0xed:m

Regards

odd

Just curious, this OFFTime does not require additional components? Was wear levelling removed to facilitate this?

And I do suggest you post this in the repository thread so this doesn’t get buried in the throngs of new threads. :slight_smile:

Exactly, no hardware modification needed. It is using the NOINIT section of the RAM.
Wear leveling was removed because it made things easier when i started coding this mod.

I sent Toykeeper a link to this thread and asked her to add it to the repository, as i have no idea how to do this myself :wink:

Hi, I got busy and distracted… but I finally added MGdriver to the repository.

BTW, at a quick glance, it does not appear to have a low-voltage shutoff. Also, why did you remove wear-leveling? It seems to have 244 bytes of ROM left to use.