~toykeeper/flashlight-firmware/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
This file lists the tags used by projects in this repository, and a list
of projects associated with each tag.  The purpose is to help people find
projects relevant to their needs, such as hardware or desired features.

Do not edit this file.  Edit the "meta" files in sub-directories instead,
and run generate-index.py to rebuild this file.

Summary of each project

    DrJones/MiniDrv:
        MiniDrv - minimalistic driver example

    DrJones/MiniMo:
        MiniDrv - minimalistic momentary-switch driver example

    DrJones/NLITE:
        NLITE replacement for default nanjg firmware

    DrJones/heartbeat:
        baby-like heartbeat effect

    DrJones/luxdrv:
        DrJones' first clicky EDC firmware

    JonnyC/STAR/MTN_momentary_temp:
        STAR momentary plus temperature monitoring

    JonnyC/STAR/STAR:
        STAR

    JonnyC/STAR/STAR_dual_switch:
        STAR for combined momentary+clicky switch lights

    JonnyC/STAR/STAR_momentary:
        STAR for momentary e-switches

    JonnyC/STAR/STAR_off_time:
        STAR off-time

    Tamagotchi/7135x8v2:
        Very flexible clicky firmware with hidden modes, from fonarevka.ru

    Tom_E:
        STAR-momentary plus strobe and 1-click off

    ToyKeeper/DarkHorse:
        Imitation of ZebraLight's UI

    ToyKeeper/Ferrero_Rocher:
        E-switch firmwares designed for Helios' "Ferrero Rocher" driver:

    ToyKeeper/STAR_1mode:
        1-mode version of STAR (100% only with turbo and LVP step-down)

    ToyKeeper/STAR_noinit:
        STAR noinit (STAR_off_time with mem-decay instead of OTC)

    ToyKeeper/battcheck:
        Developer tools to help calibrate voltage and offtime ADC values

    ToyKeeper/blf-a6:
        BLF EE A6 special edition (FET+1) firmware and derivatives

    ToyKeeper/blf-a6/cypreus2:
        FET+1 code with an extended hidden blinky mode group

    ToyKeeper/cypreus:
        TK's Sinner Cypreus full-featured clicky firmware

    ToyKeeper/s7:
        TK's full-featured clicky EDC firmware

    ToyKeeper/starry-offtime:
        STAR_off_time with better dual PWM config and some extras

    ToyKeeper/tail-light:
        Biking tail light / head light firmware

    ToyKeeper/uv:
        S7-like code intended for use on a UV blacklight

    Werner/STAR_improvements:
        STAR improved by Werner

    Werner/candleflicker:
        Candlelight flashlight with a nanjg

    _the_/TheStar:
        _the_'s full-featured clicky EDC firmware

    alexvh/basic_off_time_driver:
        ramping clicky-switch EDC firmware

    bin:
        Scripts and other executables for use in this code repo.

    dthoang:
        Olight Baton-like UI

    hello_world:
        quick example to help test if flashing hardware works

    odd/MGdriver:
        Off-time multigroup driver by odd, based on luxdrv030 by DrJones

    pilotdog68/xintd-x3:
        XinTD X3 FET+1 firmware supporting both li-ion and 3xAA batteries

    tterev3/attiny10_starter_code:
        attiny10 starter example

    tterev3/pic10f322-examples:
        PIC 10f322 examples

    tterev3/power_cycle_light:
        simple clicky firmware for pic10f322


Authors

    DooMmen:
        Tamagotchi/7135x8v2

    DrJones:
        DrJones/MiniDrv
        DrJones/MiniMo
        DrJones/NLITE
        DrJones/heartbeat
        DrJones/luxdrv
        odd/MGdriver

    JonnyC:
        JonnyC/STAR/MTN_momentary_temp
        JonnyC/STAR/STAR
        JonnyC/STAR/STAR_dual_switch
        JonnyC/STAR/STAR_momentary
        JonnyC/STAR/STAR_off_time
        Tom_E
        ToyKeeper/STAR_1mode
        ToyKeeper/STAR_noinit
        ToyKeeper/starry-offtime
        ToyKeeper/tail-light
        Werner/STAR_improvements
        dthoang

    Tamagotchi:
        Tamagotchi/7135x8v2

    Tom E:
        Tom_E

    ToyKeeper:
        ToyKeeper/Ferrero_Rocher
        ToyKeeper/STAR_1mode
        ToyKeeper/STAR_noinit
        ToyKeeper/battcheck
        ToyKeeper/blf-a6
        ToyKeeper/blf-a6/cypreus2
        ToyKeeper/cypreus
        ToyKeeper/s7
        ToyKeeper/starry-offtime
        ToyKeeper/tail-light
        ToyKeeper/uv
        pilotdog68/xintd-x3

    Werner:
        Werner/STAR_improvements
        Werner/candleflicker

    _the_:
        _the_/TheStar

    alexvh:
        alexvh/basic_off_time_driver

    dthoang:
        dthoang

    odd:
        odd/MGdriver

    pilotdog68:
        pilotdog68/xintd-x3

    tterev3:
        tterev3/attiny10_starter_code
        tterev3/pic10f322-examples
        tterev3/power_cycle_light

    vdavid:
        Tamagotchi/7135x8v2

Button-Type

    clicky:
        DrJones/MiniDrv
        DrJones/NLITE
        DrJones/luxdrv
        JonnyC/STAR/STAR
        JonnyC/STAR/STAR_dual_switch
        JonnyC/STAR/STAR_off_time
        Tamagotchi/7135x8v2
        ToyKeeper/STAR_1mode
        ToyKeeper/STAR_noinit
        ToyKeeper/blf-a6
        ToyKeeper/blf-a6/cypreus2
        ToyKeeper/cypreus
        ToyKeeper/s7
        ToyKeeper/starry-offtime
        ToyKeeper/tail-light
        ToyKeeper/uv
        Werner/STAR_improvements
        _the_/TheStar
        alexvh/basic_off_time_driver
        odd/MGdriver
        pilotdog68/xintd-x3
        tterev3/pic10f322-examples
        tterev3/power_cycle_light

    momentary:
        DrJones/MiniMo
        JonnyC/STAR/MTN_momentary_temp
        JonnyC/STAR/STAR_dual_switch
        JonnyC/STAR/STAR_momentary
        Tom_E
        ToyKeeper/Ferrero_Rocher
        Werner/STAR_improvements
        dthoang
        tterev3/attiny10_starter_code
        tterev3/pic10f322-examples

Extras

    4 power channels?:
        Tamagotchi/7135x8v2

    Baton UI:
        ToyKeeper/Ferrero_Rocher
        dthoang

    LVP:
        Tamagotchi/7135x8v2

    battery indicator LEDs:
        ToyKeeper/Ferrero_Rocher

    dual PWM:
        JonnyC/STAR/STAR
        JonnyC/STAR/STAR_momentary
        JonnyC/STAR/STAR_off_time
        ToyKeeper/STAR_1mode
        ToyKeeper/STAR_noinit
        ToyKeeper/blf-a6
        ToyKeeper/blf-a6/cypreus2
        ToyKeeper/starry-offtime
        pilotdog68/xintd-x3

    dual PWM?:
        Tamagotchi/7135x8v2

    hidden mode groups:
        ToyKeeper/blf-a6/cypreus2

    hidden modes:
        JonnyC/STAR/STAR_momentary
        ToyKeeper/blf-a6
        ToyKeeper/blf-a6/cypreus2
        ToyKeeper/cypreus
        _the_/TheStar

    mode groups:
        ToyKeeper/blf-a6
        odd/MGdriver
        pilotdog68/xintd-x3

    offtime-3:
        ToyKeeper/blf-a6
        ToyKeeper/blf-a6/cypreus2
        ToyKeeper/cypreus
        ToyKeeper/starry-offtime

    programmable modes:
        DrJones/luxdrv
        alexvh/basic_off_time_driver
        tterev3/power_cycle_light

    programmable modes?:
        Tamagotchi/7135x8v2

    ramping UI:
        ToyKeeper/Ferrero_Rocher

    self-adjusting moon:
        ToyKeeper/cypreus

    special effect demo:
        DrJones/heartbeat
        Werner/candleflicker

    star-configurable mode order:
        DrJones/NLITE
        JonnyC/STAR/STAR
        JonnyC/STAR/STAR_dual_switch
        JonnyC/STAR/STAR_momentary
        JonnyC/STAR/STAR_off_time
        ToyKeeper/STAR_noinit
        _the_/TheStar

    star-configurable moon:
        DrJones/NLITE
        JonnyC/STAR/STAR
        JonnyC/STAR/STAR_off_time
        ToyKeeper/STAR_noinit

    thermal step-down:
        JonnyC/STAR/MTN_momentary_temp
        Tamagotchi/7135x8v2

License

    GPLv3:
        ToyKeeper/blf-a6/cypreus2

MCU

    attiny10:
        tterev3/attiny10_starter_code

    attiny13a:
        DrJones/MiniDrv
        DrJones/MiniMo
        DrJones/NLITE
        DrJones/heartbeat
        DrJones/luxdrv
        JonnyC/STAR/MTN_momentary_temp
        JonnyC/STAR/STAR
        JonnyC/STAR/STAR_dual_switch
        JonnyC/STAR/STAR_momentary
        JonnyC/STAR/STAR_off_time
        Tamagotchi/7135x8v2
        Tom_E
        ToyKeeper/Ferrero_Rocher
        ToyKeeper/STAR_1mode
        ToyKeeper/STAR_noinit
        ToyKeeper/battcheck
        ToyKeeper/blf-a6
        ToyKeeper/blf-a6/cypreus2
        ToyKeeper/cypreus
        ToyKeeper/s7
        ToyKeeper/starry-offtime
        ToyKeeper/tail-light
        ToyKeeper/uv
        Werner/STAR_improvements
        Werner/candleflicker
        _the_/TheStar
        alexvh/basic_off_time_driver
        dthoang
        odd/MGdriver
        pilotdog68/xintd-x3

    attiny25:
        ToyKeeper/battcheck
        ToyKeeper/blf-a6

    pic10f322:
        tterev3/pic10f322-examples
        tterev3/power_cycle_light

Memory

    OTC:
        JonnyC/STAR/STAR_off_time
        ToyKeeper/blf-a6
        ToyKeeper/blf-a6/cypreus2
        ToyKeeper/cypreus
        ToyKeeper/starry-offtime
        Werner/STAR_improvements
        _the_/TheStar
        pilotdog68/xintd-x3

    mem decay:
        ToyKeeper/STAR_noinit
        ToyKeeper/s7
        ToyKeeper/uv
        alexvh/basic_off_time_driver
        tterev3/pic10f322-examples

    none:
        DrJones/MiniDrv
        DrJones/MiniMo
        DrJones/luxdrv
        JonnyC/STAR/MTN_momentary_temp
        JonnyC/STAR/STAR_momentary
        Tamagotchi/7135x8v2
        Tom_E
        ToyKeeper/Ferrero_Rocher
        ToyKeeper/STAR_1mode
        ToyKeeper/blf-a6/cypreus2
        ToyKeeper/cypreus
        ToyKeeper/s7
        ToyKeeper/uv
        Werner/STAR_improvements
        alexvh/basic_off_time_driver
        dthoang
        odd/MGdriver

    offtime:
        JonnyC/STAR/STAR_off_time
        ToyKeeper/STAR_noinit
        ToyKeeper/blf-a6
        ToyKeeper/blf-a6/cypreus2
        ToyKeeper/cypreus
        ToyKeeper/s7
        ToyKeeper/starry-offtime
        ToyKeeper/uv
        Werner/STAR_improvements
        _the_/TheStar
        alexvh/basic_off_time_driver
        odd/MGdriver
        pilotdog68/xintd-x3
        tterev3/pic10f322-examples

    ontime:
        DrJones/MiniDrv
        DrJones/NLITE
        DrJones/luxdrv
        JonnyC/STAR/STAR
        Tamagotchi/7135x8v2
        ToyKeeper/tail-light
        _the_/TheStar
        tterev3/power_cycle_light

    short-cycle:
        DrJones/luxdrv
        _the_/TheStar

    star-configurable:
        DrJones/NLITE
        JonnyC/STAR/STAR
        JonnyC/STAR/STAR_dual_switch
        JonnyC/STAR/STAR_off_time
        ToyKeeper/STAR_noinit
        ToyKeeper/blf-a6
        ToyKeeper/starry-offtime
        _the_/TheStar

    yes:
        DrJones/MiniMo
        ToyKeeper/Ferrero_Rocher

Modes

    100% only:
        ToyKeeper/STAR_1mode

    5-minute timer:
        DrJones/luxdrv

    OTC calibrator:
        ToyKeeper/battcheck

    SOS:
        Tamagotchi/7135x8v2

    battcheck:
        DrJones/luxdrv
        Tamagotchi/7135x8v2
        ToyKeeper/Ferrero_Rocher
        ToyKeeper/blf-a6
        ToyKeeper/blf-a6/cypreus2
        ToyKeeper/cypreus
        ToyKeeper/s7
        ToyKeeper/starry-offtime
        ToyKeeper/tail-light
        ToyKeeper/uv

    battcheck calibrator:
        ToyKeeper/battcheck

    beacon:
        ToyKeeper/cypreus
        ToyKeeper/s7
        ToyKeeper/tail-light
        ToyKeeper/uv
        _the_/TheStar
        odd/MGdriver
        tterev3/power_cycle_light

    bike flasher:
        Tamagotchi/7135x8v2
        ToyKeeper/blf-a6
        ToyKeeper/blf-a6/cypreus2
        ToyKeeper/cypreus
        ToyKeeper/s7
        ToyKeeper/tail-light

    candle flicker:
        Werner/candleflicker

    config:
        DrJones/luxdrv
        ToyKeeper/blf-a6
        pilotdog68/xintd-x3
        tterev3/power_cycle_light

    distress beacon:
        Tamagotchi/7135x8v2
        _the_/TheStar

    hidden moon:
        Tamagotchi/7135x8v2

    momentary:
        JonnyC/STAR/MTN_momentary_temp
        JonnyC/STAR/STAR_momentary

    party strobe:
        ToyKeeper/blf-a6/cypreus2
        ToyKeeper/cypreus
        ToyKeeper/s7
        ToyKeeper/uv

    police flasher:
        Tamagotchi/7135x8v2

    ramp:
        DrJones/luxdrv
        Tamagotchi/7135x8v2
        alexvh/basic_off_time_driver

    soft lock:
        ToyKeeper/Ferrero_Rocher

    strobe:
        Tamagotchi/7135x8v2
        odd/MGdriver

    tactical strobe:
        DrJones/luxdrv
        Tom_E
        ToyKeeper/blf-a6
        ToyKeeper/starry-offtime
        _the_/TheStar
        tterev3/pic10f322-examples

    variable heartbeat:
        DrJones/heartbeat

    variable strobe:
        ToyKeeper/blf-a6/cypreus2
        ToyKeeper/cypreus
        ToyKeeper/s7

TODO

    incomplete meta:
        Tamagotchi/7135x8v2
        _the_/TheStar

    needs documentation:
        Tamagotchi/7135x8v2