Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
Examination projects on Embedded Systems,Physics classI expect that you solve the problems on your own and you do not copy from your colleagues. For the examination itself, I will add a few questions on how you solved the problem and I will check with each of you, if the solution you present is your own. Believe me that I can easily find out if you copied, in which case I will count the problem as not solved!C-programming:Calculate sine values:Write a program that calculates the sine values of angles between 0 and 360 degrees (0 and 360 included) in steps of 30 degrees. It should therefore print the values of
The second one switches it off The third program reads the state of the LED from pin 18 (GPIO pin 1). How do you have to cable your LED? Produce a schematic diagram. Command line parameters Write a C program that switches the LED state to a level defined by the user. The program is called led and has 1 command line parameter which can be either “on” of “off”. The LED is connected to pin 17 (GPIO 0). When the user types:
![]() Comments
|