* Added second parameter to SR command to control immediate state of RC power
* Set EBB to always send pen up command at boot
* Adjusted pen up and pen down times
* Servo power timeout now 15 minutes at boot
See issue #103 for details.
Fix for issue #39 - added ability to 'name' an EBB, with a 0 to 16 character string which is saved in Flash.
* Added "NS" Name Set command to set name
* Added "NG" Name Get command to get stored name
* Added "RB" ReBoot command to completely reboot EBB (to allow new name to take effect)
* Added any stored name to the end of the USB Device Name so that OS can query names of all attached EBBs without having to open up each COM port
This change does affect the core USB stack from Microchip, as we are now storing the USB device descriptor strings in RAM rather than ROM. (So that we can change them at boot.)
In order to save the name to Flash, we have to reserve the last two flash blocks (0x400 bytes each), so this decreases the available space in Flash for the firmware by 2KB.
// For Query Motor - returns the current status of each motor
// QM takes no parameters, so usage is just QM<CR>
// QM returns:
// QM,<CommandExecutingStatus>,<Motor1Satus>,<Motor2Status><CR>
// where:
// <CommandExecutingStatus>: 0 if no 'motion command' is excuting, > 0 if some 'motion command' is executing
// <Motor1Status>: 0 if motor 1 is idle, 1 if motor is moving
// <Motor2Status>: 0 if motor 2 is idle, 1 if motor is moving
Re-wrote the whole ADC software to allow for much simpler enable/disable of ADC channels and simultaneous use of ADC values by different parts of the code.
New AC command introduced.
C command syntax changed.
git-svn-id: https://eggbotcode.googlecode.com/svn/trunk@290 72233254-1b6c-9e9c-5072-401df62706fb
// 2.2.2 10/15/13 - Fixed bug with SE command that was preventing anything other
// than 50% duty cycle from working.
// - Updated SC,2,{0,1,2} to control PIC and drivers connection
// 0 = PIC controls built in drivers
// 1 = PIC controls external step/dir/en drives
// 2 = external step/dir/en controls built-in drivers
// - Also updated the pins that are used for driving external
// step/dir/en drives. (See documentation)
// - Updated SC,1,{0,1,2} documentation to match code and removed
// SC,14 which is not needed.
// - Updated logic for EM command to use state of SC,2,{0,1,2}
// properly.
git-svn-id: https://eggbotcode.googlecode.com/svn/trunk@286 72233254-1b6c-9e9c-5072-401df62706fb