Update KittCarPWM to keep the first LED always on

This commit is contained in:
2025-03-22 19:15:43 +01:00
parent 7b51306696
commit 2370f56d07
2 changed files with 4 additions and 2 deletions

View File

@@ -55,7 +55,9 @@ ARCHITECTURE Behavioral OF KittCarPWM IS
BEGIN
-- Instantiate the PWM modules
PWM : FOR i IN 1 TO TAIL_LENGTH GENERATE
pwms(pwms'HIGH) <= '1'; -- First LED always on
PWM : FOR i IN 1 TO TAIL_LENGTH - 1 GENERATE
BEGIN
PWM : PulseWidthModulator
GENERIC MAP(