Programming Manual Elektor Proton Robot - ELEKTOR.se
Programming Manual Elektor Proton Robot - ELEKTOR.se
Programming Manual Elektor Proton Robot - ELEKTOR.se
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
File Commands ................................................................................................................................ 118<br />
Set Attributes............................................................................................................................... 118<br />
Format : ....................................................................................................................................... 118<br />
Copy ............................................................................................................................................. 118<br />
Clo<strong>se</strong> ............................................................................................................................................ 121<br />
Change Timestamp ...................................................................................................................... 122<br />
Era<strong>se</strong> File ...................................................................................................................................... 122<br />
Free Handle ................................................................................................................................. 124<br />
Info .............................................................................................................................................. 125<br />
Jump ............................................................................................................................................ 126<br />
Card Info ...................................................................................................................................... 127<br />
List Directory ............................................................................................................................... 129<br />
Make Directory ............................................................................................................................ 132<br />
Rename ........................................................................................................................................ 133<br />
Open ............................................................................................................................................ 134<br />
Query Volume.............................................................................................................................. 136<br />
Read ............................................................................................................................................. 136<br />
Read Line ..................................................................................................................................... 139<br />
Truncate ...................................................................................................................................... 140<br />
Write ............................................................................................................................................ 141<br />
Write Line .................................................................................................................................... 142<br />
File Status .................................................................................................................................... 144<br />
Table of Settings .............................................................................................................................. 145<br />
Table of Error Codes ........................................................................................................................ 148<br />
<strong>Proton</strong> main program for PIC in C: ...................................................................................................... 149<br />
PIC_PROTON_LIB.h .......................................................................................................................... 149<br />
PIC_PROTON_LIB.c .......................................................................................................................... 152<br />
<strong>Proton</strong> main program for AVR in C: ..................................................................................................... 161<br />
AVR_PROTON_LIB.h ........................................................................................................................ 161<br />
AVR_PROTON_LIB.c ......................................................................................................................... 164<br />
Cheat sheet C – for Hitech C compiler ................................................................................................ 173<br />
Version changes summary .................................................................................................................. 175<br />
Bart Huyskens <strong>Manual</strong> <strong>Elektor</strong> <strong>Proton</strong> V1.0 3 April 2011 4