Minor documentation/code update
This commit is contained in:
parent
f532e713a5
commit
b1106645a7
2 changed files with 8 additions and 8 deletions
14
README.md
14
README.md
|
@ -18,7 +18,7 @@ git clone https://github.com/SanchayanMaity/LinuxWorkshop.git
|
||||||
|
|
||||||
Build and install the OE-Core aka Yocto SDK, for instructions related to building and installing SDK, have a look at this knowledge base [article](http://developer.toradex.com/knowledge-base/linux-sdks).
|
Build and install the OE-Core aka Yocto SDK, for instructions related to building and installing SDK, have a look at this knowledge base [article](http://developer.toradex.com/knowledge-base/linux-sdks).
|
||||||
|
|
||||||
The Linux image for Vybrid module being used for the workshop can be downloaded [here](https://share.toradex.com/9dlqpzgduzomatw)and flashed to the module as per [Flashing Embedded Linux to Vybrid Modules](http://developer.toradex.com/knowledge-base/flashing-linux-on-vybrid-modules) if required. To facilitate development, a sample SDK can be downloaded from this [link](https://share.toradex.com/erezkkl0c5yunve). Install the SDK by executing the following from the command line
|
The Linux image for Vybrid module being used for the workshop can be downloaded [here](https://share.toradex.com/9dlqpzgduzomatw) and flashed to the module as per [Flashing Embedded Linux to Vybrid Modules](http://developer.toradex.com/knowledge-base/flashing-linux-on-vybrid-modules) if required. To facilitate development, a sample SDK can be downloaded from this [link](https://share.toradex.com/erezkkl0c5yunve). Install the SDK by executing the following from the command line
|
||||||
|
|
||||||
```
|
```
|
||||||
chmod a+x angstrom-glibc-x86_64-armv7at2hf-neon-v2016.12-toolchain.sh
|
chmod a+x angstrom-glibc-x86_64-armv7at2hf-neon-v2016.12-toolchain.sh
|
||||||
|
@ -58,23 +58,23 @@ Waiting for interrupt. Press 'q' and 'Enter' at any time to exit
|
||||||
```
|
```
|
||||||
root@colibri-vf:~# ./pcf8574
|
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
|
1
|
||||||
Key A pressed
|
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
|
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
|
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
|
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
|
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
|
4
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ int main(void)
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
||||||
while (true) {
|
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);
|
scanf("%d", &input);
|
||||||
switch (input) {
|
switch (input) {
|
||||||
case 1:
|
case 1:
|
||||||
|
|
Loading…
Reference in a new issue