Skip to content

Commit

Permalink
Update: bye bye commented out codes
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Lin <[email protected]>
  • Loading branch information
Suke0811 and ducky64 authored Sep 26, 2024
1 parent 41e0ad7 commit cfb70d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions edg/parts/Lcd_Er_Tft1_28_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ def contents(self):
self.led_res = self.Block(Resistor(
resistance=(self.pwr.link().voltage.upper() / forward_current.upper(),
self.pwr.link().voltage.lower() / forward_current.lower())))
# self.led_res = self.Block(Resistor(50 * Ohm(tol=0.05))) # TODO: a optional backlight dimming circuit (using a FET from a logic-level control signal).

self.connect(self.led_res.a.adapt_to(VoltageSink(current_draw=(1, 40) * mAmp)), self.pwr)
self.connect(self.led_res.b, self.ic.leda)
self.connect(self.pwr, self.ic.ctp_vdd)
Expand Down

0 comments on commit cfb70d7

Please sign in to comment.