Download Software Guide

Transcript
5.1.6
5.1.7
5.1.8
5.1.9
5.1.10
5.1.11
5.1.12
5.1.13
5.1.14
5.1.15
5.1.16
5.1.17
5.1.18
5.1.19
5.1.20
5.1.21
cp:copy file -> ( like copy in DOS ) ...................................................................23
mv:move or rename file or directory -> ( like move or ren in DOS ) ............23
pwd:show the current path ......................................................................................23
who:show the on-line users ......................................................................................23
chmod:change authority of file..............................................................................23
uname:show the version of linux ...........................................................................23
ps:show the procedures that execute now.............................................................24
ftp:transfer file ........................................................................................................24
telnet:connect to other PC......................................................................................24
date:show date and time.........................................................................................24
netstat:show the state of network ..........................................................................24
ifconfig:show the ip and network mask ( like ipconfig in DOS )........................24
ping:check to see if the host in the network is alive.............................................24
clear:clear the screen ..............................................................................................24
passwd:change the password .................................................................................24
reboot:reboot the LinPAC......................................................................................24
5.2 General GCC Instructions ...................................................................................25
5.2.1 Compile without linking the LinPAC-5000 library .....................................................26
5.2.2 Compile with linking the LinPAC-5000 library ( libi8k.a ) ........................................26
5.3 A Simple Example – Helloworld.c .......................................................................27
5.4 i-Talk Utility ..........................................................................................................32
6. LIBI8K.A...............................................................................................34
6.1 System Information Functions.............................................................................36
6.2 Watch Dog Timer Functions................................................................................57
6.3 EEPROM Read/Write Functions ........................................................................60
6.4 Digital Input/Output Functions ...........................................................................64
6.4.1 I-7000 series modules .....................................................................................................64
6.5 Analog Input Functions ........................................................................................81
6.5.1 I-7000 series modules .....................................................................................................81
6.6 Analog Output Functions .....................................................................................93
6.6.1 I-7000 series modules .....................................................................................................93
5.7 Error Code Explanation .....................................................................................104
7. Demo of LinPAC-5000 Modules With C Language.........................105
7.1 I-7k Modules DIO Control Demo ......................................................................105
7.2 I-7k Modules AIO Control Demo ......................................................................110
7.3 Conclusion of Module Control Demo................................................................112
7.4 Timer Function Demo.........................................................................................113
8. Introduction of LinPAC-5000 Serial Ports.......................................114
LinPAC-5000 SDK Manual:3