view venus/src/periph/charging_led.v @ 96:ae6951a70d2b

U403: change from 74LVC2G125 to 74LVC2G126 The two parts have the same footprint and pinout, but '126 3-state buffers have active-high OE inputs instead of active-low. The change is purely for software benefit: having GPIO 11/12 set to 1 correspond to that current contribution being enabled will be much more intuitive for developers and tinkerers.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 09 May 2022 19:27:11 +0000
parents dfa0d08d8f2b
children
line wrap: on
line source

module charging_led (VCHG, LEDC);

input VCHG, LEDC;

wire mid;

resistor R (VCHG, mid);

basic_LED led (.A(mid), .C(LEDC));

endmodule