ASURO - 5 -
III. Software
35
8.
Software installation and initial steps
35
8.1. WINDOWS
35
8.1.1 Installation Flash - the ASURO-Programmer-Tool
35
8.1.2 Installation of the editor and compiler
35
8.1.3. Example programs
39
8.2. LINUX
51
8.2.1. Installation Flash - the ASURO-Programmer-Tool
51
8.2.2. Compiler
52
8.3. Working with Flash
53
8.4. Flash failures
54
8.5. First step in Programming
54
9. C for ASURO
56
9.1. Basics in C-Programmierung
56
9.1.1. Introduction
56
9.1.2. Variables and datatypes
57
9.1.3. Compilerdirektives
59
9.1.4. Conditions
59
9.1.5. Loops
61
9.1.6. Functions
62
9.1.7. pointers and vectors
64
9.2. Overview of the ASURO functions
65
9.2.1. void Init(void)
66
9.2.2. void StatusLED (unsigned char color)
66
9.2.3. void FrontLED (unsigned char status)
67
9.2.4. void BackLED (unsigned char left, unsigned char right)
67
9.2.5. void Sleep (unsigned char time72kHz)
67
9.2.6. void MotorDir (unsigned char left_dir, unsigned char right_dir)
67
9.2.7. void MotorSpeed (unsigned char left_speed, unsigned char right_speed)
68
9.2.8. void SerWrite (unsigned char *data, unsigned char length)
68
9.2.9. void SerRead (unsigned char *data, unsigned char length, unsigned int timeout) 68
9.2.10. void LineData (unsigned int *data)
69
9.2.11. void OdometrieData (unsigned int *data)
70
9.2.12. unsigned char PollSwitch (void)
71
IV. Appendices
72
A. Partlist
72
B. Diagram ASURO
74
C. RS-232 IR Transceiver
75
D. USB IR-Transceiver
76
E. Blockdiagram ASURO
77
F. Blockdiagram PIC Processor
77
G. Contents ASURO KIT
78
Содержание DLR ASURO
Страница 36: ...ASURO 36 Software Now this screen will show up Click I Agree This screen appears Click Next...
Страница 37: ...ASURO 37 Software The next screen appears Click Install and the next screen appears Wait...
Страница 40: ...ASURO 40 Software Select on the rigth side C C C C is selected Click Add to insert a new tool...
Страница 45: ...ASURO 45 Software Just for try we will open the file C ASURO_src FirstTry test c Click Open...
Страница 74: ...ASURO 74 B ASURO DIAGRAM Appendices...
Страница 75: ...ASURO 75 Appendices C RS 232 Transceiver...
Страница 76: ...ASURO 76 D USB Transceiver Appendices...
Страница 77: ...ASURO 77 E Block diagram ASURO F Block diagram PIC processor Appendices...
Страница 78: ...ASURO 78 G Contents ASURO KIT Appendices...