Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Lecture notesIntroduction | ||||||||
Changed: | ||||||||
< < | During the exercise sessions, we will first develop a program that lights the user programmable LED on the CPU card. This displays a binary signal, which can only be high or low. | |||||||
> > | During the exercise sessions, we will first develop a program that lights the user programmable LED on the CPU card. This displays a binary signal, which can only be high or low. The exercise therefore demonstrates how to output a signal and how to control a single digital signal line. | |||||||
![]() | ||||||||
Changed: | ||||||||
< < | Then we will read a digital actuator, namely a simple push button switch, and we will display its current value (pushed or released) on the PC screen. After that, we may switch the LED on when the button is pressed and switch it off, when the button is released, thus combining the acquisition of a digital sensor with the display of its state. | |||||||
> > | As a second exercise we will read a digital actuator, namely a simple push button switch, and we will display its current value (pushed or released) on the PC screen. This exercise therefore demonstrates how to acquire the state of a digital signal. After that, we may switch the LED on, when the button is pressed, and switch it off, when the button is released, thus combining the acquisition of a digital sensor with the display of its state. | |||||||
![]()
| ||||||||
Changed: | ||||||||
< < | Now the we know what we have to do, let's go! Programming Python | |||||||
> > | Now that we know what we have to do, let's go for it! Programming Python | |||||||
- - ![]() |
Line: 1 to 1 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Added: | |||||||||||||
> > |
Lecture notesIntroductionDuring the exercise sessions, we will first develop a program that lights the user programmable LED on the CPU card. This displays a binary signal, which can only be high or low.![]() ![]()
![]() Comments
|