Minor documentation/code update

This commit is contained in:
Sanchayan Maity 2017-05-10 13:25:32 +05:30
parent f532e713a5
commit b1106645a7
2 changed files with 8 additions and 8 deletions

View file

@ -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
```

View file

@ -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: