Editing Smart Battery Charger with Graphical Data Logger

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 100: Line 100:
 
=== Command Details ===
 
=== Command Details ===
  
comming.....
+
These commands are fairly direct implementations of the basic command set of the BitWacker. The interface does change format of the input. For example in configuring the IO ports binary seems easier than decimal.
 +
 
 +
 
 +
*Reset ( Reset )
 +
**No input, no output, should just work.
 +
 
 +
*Version
 +
**Input: none
 +
**Output: ( Field Version ) is the version response from the BitWacker.
 +
 
 +
*Configure
 +
**Input: 4 Fields, 3 Fields( binary ) for the direction of PortA, PortB, PortC ( 1 is input, 0 is output.), and one input for then number of Analog channels ( 0 to 12 ). 
 +
** Output: none.
 +
 
 +
*Output All ( )
 +
**3 inputs, one field for each port.  Binary input 1 for output high, 0 for output low.
 +
 
 +
*Input All ()
 +
**Input:  Output one field for each port, binary.
 +
 
 +
*Output Pin
 +
**Inputs:  Port Field ( use either decimal numbers 0, 1, 2, or A, B, or C).  Pin Field, use decimal number 0 to 7.  State  0 or 1 ( could be in any base, how can you tell? ).
 +
**Output: None
 +
 
 +
*Input Pin
 +
**Input:2 Inputs.  Port use either decimal numbers 0, 1, 2, or A, B, or C.  Pin, use decimal number 0 to 7. 
 +
**Output: State of pin; 0 or 1.
 +
 
 +
*RC Servo
 +
**Input: As with Output Pin except that value is between 1 and 11890 and will cause a high pulse whose duration is proportionally between 1ms and 2ms. These pulses repeat every 19ms.  This controlls the servo's rotation
 +
**Output: None
 +
 
 +
*Memory Write
 +
**Input: Address to be written to.  Value to be stored in the address.
 +
**Output: None
 +
 
 +
*Memory Read
 +
**Input:  Address to be read.
 +
**Output: Value stored in the address.
 +
 
  
 
=== Bugs and Enhancements ===
 
=== Bugs and Enhancements ===
  
 
See the list at [[RS232Probe Enhancements and Bugs]] a list for all the related applications.
 
See the list at [[RS232Probe Enhancements and Bugs]] a list for all the related applications.

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)