Attila Fazekas
/
cli
published command line interface
cli.h@0:fe9e3f3e16e2, 23 months ago (annotated)
- Committer:
- attila0970
- Date:
- Fri May 27 10:11:19 2022 +0000
- Revision:
- 0:fe9e3f3e16e2
asd
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
attila0970 | 0:fe9e3f3e16e2 | 1 | #include "mbed.h" |
attila0970 | 0:fe9e3f3e16e2 | 2 | |
attila0970 | 0:fe9e3f3e16e2 | 3 | |
attila0970 | 0:fe9e3f3e16e2 | 4 | #define bufferSize 32 |
attila0970 | 0:fe9e3f3e16e2 | 5 | |
attila0970 | 0:fe9e3f3e16e2 | 6 | //global variables |
attila0970 | 0:fe9e3f3e16e2 | 7 | bool run = true; |
attila0970 | 0:fe9e3f3e16e2 | 8 | int i = 0; |
attila0970 | 0:fe9e3f3e16e2 | 9 | int j = 0; |
attila0970 | 0:fe9e3f3e16e2 | 10 | int a = 0; |
attila0970 | 0:fe9e3f3e16e2 | 11 | int b = 0; |
attila0970 | 0:fe9e3f3e16e2 | 12 | int cliFlag = 0; |
attila0970 | 0:fe9e3f3e16e2 | 13 | |
attila0970 | 0:fe9e3f3e16e2 | 14 | int intIndex = 0; |
attila0970 | 0:fe9e3f3e16e2 | 15 | int bigStrIndex = 0; |
attila0970 | 0:fe9e3f3e16e2 | 16 | int smallStrIndex = 0; |
attila0970 | 0:fe9e3f3e16e2 | 17 | int elseIndex = 0; |
attila0970 | 0:fe9e3f3e16e2 | 18 | unsigned char data[bufferSize]; |
attila0970 | 0:fe9e3f3e16e2 | 19 | unsigned char intBuff[bufferSize]; |
attila0970 | 0:fe9e3f3e16e2 | 20 | unsigned char bigStrBuff[bufferSize]; |
attila0970 | 0:fe9e3f3e16e2 | 21 | unsigned char smallStrBuff[bufferSize]; |
attila0970 | 0:fe9e3f3e16e2 | 22 | unsigned char elseBuff[bufferSize]; |
attila0970 | 0:fe9e3f3e16e2 | 23 | |
attila0970 | 0:fe9e3f3e16e2 | 24 | |
attila0970 | 0:fe9e3f3e16e2 | 25 | |
attila0970 | 0:fe9e3f3e16e2 | 26 | |
attila0970 | 0:fe9e3f3e16e2 | 27 | |
attila0970 | 0:fe9e3f3e16e2 | 28 | |
attila0970 | 0:fe9e3f3e16e2 | 29 | |
attila0970 | 0:fe9e3f3e16e2 | 30 | |
attila0970 | 0:fe9e3f3e16e2 | 31 |