* Z:\tmp\asc_dec_bjh7r6w2\0eaa60bfa46f_CC_led_driver-_best_I_could_find_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
R7 N027 0 3
V10 N022 0 PULSE(3.6 4.2 0.005 0.09 0.1 0.005)
D1 N015 N018 NSCW100
V1 N005 0 5
R3 N021 N020 10k
R10 N003 N002 10k
R1 N006 0 33
R2 N011 N010 10k
Q3 N016 N017 N019 0 NPN
V6 N001 0 3.6
V4 N011 0 PULSE(0 3.3 0 0 0 0.005 0.01)
R5 N019 0 3
V8 N003 0 PULSE(0 5 0 0 0 0.005 0.01)
R9 N014 N013 10k
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2892 1236
WIRE 1072 -80 1072 -112
WIRE 1232 -80 1072 -80
WIRE 1232 -64 1232 -80
WIRE 1424 -48 1280 -48
WIRE 1552 -48 1504 -48
WIRE 1552 -32 1552 -48
WIRE 1232 64 1232 32
WIRE 208 128 208 96
WIRE 176 144 112 144
WIRE 384 160 240 160
WIRE 1232 160 1232 128
WIRE 176 176 0 176
WIRE 496 208 448 208
WIRE 624 208 576 208
WIRE 208 224 208 192
WIRE 1072 240 1072 -80
WIRE 1440 240 1280 240
WIRE 1552 240 1520 240
WIRE 384 288 384 256
WIRE 1232 304 1232 256
WIRE 1072 352 1072 320
WIRE 1168 352 1072 352
WIRE 384 384 384 352
WIRE 1232 400 1136 400
WIRE 496 432 448 432
WIRE 624 432 576 432
WIRE 112 480 112 144
WIRE 384 480 112 480
WIRE 112 512 112 480
WIRE 1088 656 1088 624
WIRE 1248 656 1088 656
WIRE 1248 672 1248 656
WIRE 1248 800 1248 768
WIRE 1088 976 1088 656
WIRE 1456 976 1296 976
WIRE 1248 1040 1248 992
WIRE 1088 1088 1088 1056
WIRE 1184 1088 1088 1088
WIRE 1248 1136 1152 1136
SYMBOL res 1232 1120 R0
SYMATTR InstName R7
SYMATTR Value 3
SYMBOL voltage 1088 640 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V10
SYMATTR Value PULSE(3.6 4.2 0.005 0.09 0.1 0.005)
SYMBOL LED 368 288 R0
SYMATTR InstName D1
SYMATTR Value NSCW100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL voltage 208 112 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 592 416 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL res 1520 -64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value 10k
SYMBOL res 96 496 R0
SYMATTR InstName R1
SYMATTR Value 33
SYMBOL res 592 192 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL npn 1168 304 R0
SYMATTR InstName Q3
SYMBOL voltage 1072 -96 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V6
SYMATTR Value 3.6
SYMBOL voltage 624 192 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value PULSE(0 3.3 0 0 0 0.005 0.01)
SYMBOL res 1216 384 R0
SYMATTR InstName R5
SYMATTR Value 3
SYMBOL voltage 1552 -48 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V8
SYMATTR Value PULSE(0 5 0 0 0 0.005 0.01)
SYMBOL res 1536 224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R9
SYMATTR Value 10k
FLAG 208 304 0
FLAG 208 16 0
FLAG 112 592 0
FLAG 624 288 0
FLAG 624 512 0
FLAG 1072 448 0
FLAG 1232 480 0
FLAG 1552 320 0
FLAG 1072 -192 0
FLAG 1552 48 0
FLAG 1088 1184 0
FLAG 1248 1216 0
FLAG 1088 544 0