Das Open-Control-Projekt - Die Alternative zur C-Control-I


Das Forum zur C-Control-1
Welche C-Control-Varianten existieren?
Übersicht - Suchen - Neueste 50 Beiträge - Neuer Beitrag - Login - Registrieren
INFO - FAQ - CC2-Forum - CCPro-Forum 

 Re: CF card van Avisaro Kategorie: Programmierung Basic (von Windt H.J. - 20.11.2005 16:48)
 Als Antwort auf Re: CF card van Avisaro von Hans - 20.11.2005 16:15
Hello,
LetÂ’s try something.
1) Use you pc to clear all files on your flash card/ flash card must be clean.
2) Disconnect the RxD and TxD connections.
3) Place your flash card into your M3248.
4) Load the program below.
5) Reconnect the RxD and TxD connections.
6) Press START and wait for the program to end (beep).
7) Place the flash card into your PC and see if it worked.
LetÂ’s see if this works.
Greetings,
H.J. Windt




'****************** SETUP ******************'
pause 200
put 0
print"at+create test.txt"                            'Create test.txt'
pause 150
pause 50                                             '*Subroutine must still be written for receiving OK or ERROR*'
print"at+close"
pause 50                                             '*Subroutine must still be written for receiving OK or ERROR*'
'*******************************************'
'***************** PROGRAM *****************'
#start
print"at+append test.txt"                            'Open test.txt for appending data'
pause 50                                             '*Subroutine must still be written for receiving OK or ERROR*'
print"at+datastream"                                 'Type of data is datastream'
pause 50                                             '*Subroutine must still be written for receiving OK or ERROR*'
print"The quick brown fox jumps over the lazy dog."  'datastream'
print"The Avisaro Compact Flash Box is GREAT!"       'datastream'
print"Testend?"                                      'datastream'
pause 50 : print"+" : pause 50 : print"+" : pause 50 : print"+" 'Stop writing data to test.txt'
pause 50
#end_loop
beep 4,2,4: beep 4,2,4
goto end_loop

 Antwort schreiben

Bisherige Antworten: