 by l3v3rz » Fri Jun 18, 2010 11:36 pm
                by l3v3rz » Fri Jun 18, 2010 11:36 pm
            
            
                     by l3v3rz
                by l3v3rz
Fri Jun 18, 2010 11:36 pm
            
            
            You can now view and edit flash ROM using my basic firmware.
Here for details of firmware: (download, wiki etc)
http://code.google.com/p/robobuilderlib/
to inspect the ROM type 'i' and enter the following program:
- Code: Select all
- 10 FOR I=1 to 13
 20 OUT $ROM(I)
 30 NEXT I
 40 PRINT
 
Then type '.' to exit input mode and 'r' to run.
If you see 13 digits all is well. If not find your serial number (its printed on the RBC unit) and update the ROM using for example:
- Code: Select all
- ROM 1,48
 ROM 2,49
 
etc .... Notice without line number command is executed immediately. (when in 'i' interactive mode)
This will set the first digit to ASCII 48 or '0', second to '1' etc ... (Sorry you will have to covert your s/n to ASCII yourself - hint is 48 + digit [0-9]
Use this with CAUTION !!!!!
If you have Basic running theres plenty of fun things to do with it !!!
Here's a little demo I'm working on:
- Code: Select all
- 10 stand 16
 20 servo 13=200
 30 servo 10=50
 40 let a=$psd
 45 print "Psd=";$PSD
 50 servo 13=250-a
 60 servo 10=a
 70 wait 200
 80 goto 40
 
The arms dynamically move as the distance sensor detects your presence !!
You can now view and edit flash ROM using my basic firmware.
Here for details of firmware: (download, wiki etc)
http://code.google.com/p/robobuilderlib/
to inspect the ROM type 'i' and enter the following program:
- Code: Select all
- 10 FOR I=1 to 13
 20 OUT $ROM(I)
 30 NEXT I
 40 PRINT
 
Then type '.' to exit input mode and 'r' to run.
If you see 13 digits all is well. If not find your serial number (its printed on the RBC unit) and update the ROM using for example:
- Code: Select all
- ROM 1,48
 ROM 2,49
 
etc .... Notice without line number command is executed immediately. (when in 'i' interactive mode)
This will set the first digit to ASCII 48 or '0', second to '1' etc ... (Sorry you will have to covert your s/n to ASCII yourself - hint is 48 + digit [0-9]
Use this with CAUTION !!!!!
If you have Basic running theres plenty of fun things to do with it !!!
Here's a little demo I'm working on:
- Code: Select all
- 10 stand 16
 20 servo 13=200
 30 servo 10=50
 40 let a=$psd
 45 print "Psd=";$PSD
 50 servo 13=250-a
 60 servo 10=a
 70 wait 200
 80 goto 40
 
The arms dynamically move as the distance sensor detects your presence !!