Minor documentation/code update
This commit is contained in:
parent
f532e713a5
commit
b1106645a7
2 changed files with 8 additions and 8 deletions
12
README.md
12
README.md
|
@ -58,23 +58,23 @@ Waiting for interrupt. Press 'q' and 'Enter' at any time to exit
|
|||
```
|
||||
root@colibri-vf:~# ./pcf8574
|
||||
|
||||
Enter choice: 1. Joy stick status 2. Led On/Off 3. Buzzer On/Off 4. Exit
|
||||
Enter choice: 1. Joy stick status 2. Led2 On/Off 3. Buzzer On/Off 4. Exit
|
||||
1
|
||||
Key A pressed
|
||||
|
||||
Enter choice: 1. Joy stick status 2. Led On/Off 3. Buzzer On/Off 4. Exit
|
||||
Enter choice: 1. Joy stick status 2. Led2 On/Off 3. Buzzer On/Off 4. Exit
|
||||
2
|
||||
|
||||
Enter choice: 1. Joy stick status 2. Led On/Off 3. Buzzer On/Off 4. Exit
|
||||
Enter choice: 1. Joy stick status 2. Led2 On/Off 3. Buzzer On/Off 4. Exit
|
||||
2
|
||||
|
||||
Enter choice: 1. Joy stick status 2. Led On/Off 3. Buzzer On/Off 4. Exit
|
||||
Enter choice: 1. Joy stick status 2. Led2 On/Off 3. Buzzer On/Off 4. Exit
|
||||
3
|
||||
|
||||
Enter choice: 1. Joy stick status 2. Led On/Off 3. Buzzer On/Off 4. Exit
|
||||
Enter choice: 1. Joy stick status 2. Led2 On/Off 3. Buzzer On/Off 4. Exit
|
||||
3
|
||||
|
||||
Enter choice: 1. Joy stick status 2. Led On/Off 3. Buzzer On/Off 4. Exit
|
||||
Enter choice: 1. Joy stick status 2. Led2 On/Off 3. Buzzer On/Off 4. Exit
|
||||
4
|
||||
```
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ int main(void)
|
|||
return EXIT_FAILURE;
|
||||
|
||||
while (true) {
|
||||
printf("\nEnter choice: 1. Joy stick status 2. Led On/Off 3. Buzzer On/Off 4. Exit\n");
|
||||
printf("\nEnter choice: 1. Joy stick status 2. Led2 On/Off 3. Buzzer On/Off 4. Exit\n");
|
||||
scanf("%d", &input);
|
||||
switch (input) {
|
||||
case 1:
|
||||
|
|
Loading…
Reference in a new issue