diff venus/src/periph/charging_led.v @ 34:dfa0d08d8f2b

charging LED circuit captured
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Nov 2021 03:25:55 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/venus/src/periph/charging_led.v	Mon Nov 22 03:25:55 2021 +0000
@@ -0,0 +1,11 @@
+module charging_led (VCHG, LEDC);
+
+input VCHG, LEDC;
+
+wire mid;
+
+resistor R (VCHG, mid);
+
+basic_LED led (.A(mid), .C(LEDC));
+
+endmodule