replace boot.spin (http://forums.parallax.com/showthread.php/123795-spinix?p=1221553&viewfull=1#post1221553)
This commit is contained in:
parent
99bd77d966
commit
4b65bc09cd
|
@ -21,13 +21,13 @@ VAR
|
||||||
byte buffer[100]
|
byte buffer[100]
|
||||||
|
|
||||||
DAT
|
DAT
|
||||||
pins byte 0[4]
|
pins byte 255[4]
|
||||||
sd_names byte "DO ", 0, "CLK", 0, "DI ", 0, "CS ", 0
|
sd_names byte "DO ", 0, "CLK", 0, "DI ", 0, "CS ", 0
|
||||||
|
|
||||||
PUB main | i, ptr, infile, handle
|
PUB main | i, ptr, infile, handle
|
||||||
longfill(sys#rendezvous, 0, ($8000 - sys#rendezvous)/4)
|
longfill(sys#rendezvous, 0, ($8000 - sys#rendezvous)/4)
|
||||||
c.start
|
c.start
|
||||||
ifnot pins
|
if pins == 255
|
||||||
repeat
|
repeat
|
||||||
c.printf0(string("Press any key to start\n"))
|
c.printf0(string("Press any key to start\n"))
|
||||||
if ser.rxtime(1000) <> -1
|
if ser.rxtime(1000) <> -1
|
||||||
|
|
Loading…
Reference in New Issue