I have added to to my CavingHeadlampsFW repository a new directory HelloWorld including 5 very basic to advanced programs for guys who want to start writing FW for drivers
ADC program is for battery measuring using voltage divider
PWM program is for LED dimming
Sleep program is for power saving while light is off
In addition, you can find in my GitHub 2 FW for caving lamp (that can also be used for any dual beam light):
DualDriver for stepped ramp up/down
SiameseTwins for single driver with 2 channels
Feel free to ask if you have any trouble flashin/running the programs