Studying the LED Fade Demo Code
?
?

Keyboard Navigation

Global Keys

[, < / ], > Jump to previous / next episode
W, K, P / S, J, N Jump to previous / next marker
t / T Toggle theatre / SUPERtheatre mode
z Toggle filter mode V Revert filter to original state

Menu toggling

q Quotes r References f Filter c Credits

In-Menu Movement

a
w
s
d
h j k l


Quotes and References Menus

Enter Jump to timecode

Quotes, References and Credits Menus

o Open URL (in new tab)

Filter Menu

x, Space Toggle category and focus next
X, ShiftSpace Toggle category and focus previous
v Invert topics / media as per focus

Credits Menu

Enter Open URL (in new tab)
0:07Recap and set the stage for the day
0:07Recap and set the stage for the day
0:07Recap and set the stage for the day
1:46Learn the LED colour fading logic in led_fade.c
📖
1:46Learn the LED colour fading logic in led_fade.c
📖
1:46Learn the LED colour fading logic in led_fade.c
📖
4:33Consider investing in a second webcam for the HiFive1
4:33Consider investing in a second webcam for the HiFive1
4:33Consider investing in a second webcam for the HiFive1
5:56Upload led_fade.c to the HiFive1 and run it to eyeball the LED fading
🏃
5:56Upload led_fade.c to the HiFive1 and run it to eyeball the LED fading
🏃
5:56Upload led_fade.c to the HiFive1 and run it to eyeball the LED fading
🏃
8:01Confirm that it is doing the logic we expected
8:01Confirm that it is doing the logic we expected
8:01Confirm that it is doing the logic we expected
8:47Determine to understand how the PWM1_REG() calls manipulate the PWM Configuration Register1
📖
8:47Determine to understand how the PWM1_REG() calls manipulate the PWM Configuration Register1
📖
8:47Determine to understand how the PWM1_REG() calls manipulate the PWM Configuration Register1
📖
17:02Marry up the register offsets and constants defined in devices/pwm.h with the documentation2
📖
17:02Marry up the register offsets and constants defined in devices/pwm.h with the documentation2
📖
17:02Marry up the register offsets and constants defined in devices/pwm.h with the documentation2
📖
25:23Consult the Freedom E310-G000 Manual3 for the base address of the config register
📖
25:23Consult the Freedom E310-G000 Manual3 for the base address of the config register
📖
25:23Consult the Freedom E310-G000 Manual3 for the base address of the config register
📖
28:31Determine that we are sending three different signals, one for each LED channel4
📖
28:31Determine that we are sending three different signals, one for each LED channel4
📖
28:31Determine that we are sending three different signals, one for each LED channel4
📖
35:03Read the PWM1_REG() macro and marry up the defined PWM1_BASE_ADDR with the documentation5
📖
35:03Read the PWM1_REG() macro and marry up the defined PWM1_BASE_ADDR with the documentation5
📖
35:03Read the PWM1_REG() macro and marry up the defined PWM1_BASE_ADDR with the documentation5
📖
38:00Come to understand how the PWM1_REG() calls manipulate the low 16 bits of the PWM Compare Register6
📖
38:00Come to understand how the PWM1_REG() calls manipulate the low 16 bits of the PWM Compare Register6
📖
38:00Come to understand how the PWM1_REG() calls manipulate the low 16 bits of the PWM Compare Register6
📖
50:32Learn that pwmcmp0 sets the width of the duty cycle and that pwmcount resets to zero at the end of every PWM cycle7
📖
50:32Learn that pwmcmp0 sets the width of the duty cycle and that pwmcount resets to zero at the end of every PWM cycle7
📖
50:32Learn that pwmcmp0 sets the width of the duty cycle and that pwmcount resets to zero at the end of every PWM cycle7
📖
52:56Go over the PWM Compare Registers another time8
📖
52:56Go over the PWM Compare Registers another time8
📖
52:56Go over the PWM Compare Registers another time8
📖
55:54Note that the signal is high most of the time9
📖
55:54Note that the signal is high most of the time9
📖
55:54Note that the signal is high most of the time9
📖
58:37Think about the logic of those PWM1_REG() calls
🖌
📖
58:37Think about the logic of those PWM1_REG() calls
🖌
📖
58:37Think about the logic of those PWM1_REG() calls
🖌
📖
1:02:38Determine to draw out the LED's waveform
1:02:38Determine to draw out the LED's waveform
1:02:38Determine to draw out the LED's waveform
1:03:23We're out of time for today
1:03:23We're out of time for today
1:03:23We're out of time for today