Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

IMX233-OLINUXINO-MAXI View Datasheet(PDF) - Unspecified

Part Name
Description
MFG CO.
'IMX233-OLINUXINO-MAXI' PDF : 59 Pages View PDF
OLIMEX© 2015
IMX233-OLinuXino-MAXI user's manual
& :wq
This should do the work. To check connection use ping. If it doesn't check your
configuration again and router settings. You can use ifconfig to see OLinuXino settings.
III. Using GCC to make Hello_World
In the home folder there are some examples
& cd /home/examples
& ls
And you should see all files and folders. You can create new folder (if you want) with the
command:
& mkdir <some dir>
To see our HelloWorld program go to /HelloWorld folder
& cd /home/examples/HelloWorld
& ls
In this folder are two files:
- hello
- hello_world.c
The C file is the sourse code. Actually this is text file with .c extention. Type vi or cat
hello_world.c to view the source. You could modify the source whatever you want. After
the source is ready to compile the file use:
& gcc -o hello_world.c hello
For more complicated compiling type:
& man gcc
To execute the program:
& ./hello <some name>
The result of the execution should be:
Hello <some name>.
In the other directory /home/i2c are three examples for hardware I2C. You could compile
them using the same command:
& gcc -o <file>.c <file>
After execution you could see the I2C working using osciloscope connected to the
corresponding GPIOs.
You can see that the LED1 on the board is blinking. This is a backgrond shell process.
Again in the /home you can see a third folder led_blink. In this one there is a file
led_blink. Type:
& cat led_blink
You can see that this is shell script. To execute this script every time the linux is loaded the
Page 18 of 59
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]