Difference between revisions of "Qweak flipbit"

From New IAC Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
flipbit syntax
 
flipbit syntax
  
 +
echo "p 48 0 0 flip" | ./flipbit.arm -n
  
 
echo "PE I2Caddress register hexword command"
 
echo "PE I2Caddress register hexword command"
Line 13: Line 14:
 
commands: flip set, on off.  use set to set bits, flip to flip bits, to turn bits on and off.
 
commands: flip set, on off.  use set to set bits, flip to flip bits, to turn bits on and off.
  
echo "p 48 0 0 flip" | ./flipbit.arm -n
 
  
 
[http://wiki.iac.isu.edu/index.php/Qweak#Software] [[Qweak]]
 
[http://wiki.iac.isu.edu/index.php/Qweak#Software] [[Qweak]]

Revision as of 02:36, 28 January 2010

flipbit syntax

echo "p 48 0 0 flip" | ./flipbit.arm -n

echo "PE I2Caddress register hexword command"

PE = primary or extended registers I2C Address = 16,,48,64,96,112 = I2C address of VFAT

register= 1-16 for primary 1-128 for extended, the extended switch above takes care of the address offsets

hexword= now you can write one bit or a hex word to a register (1/0 or 0xff),

commands: flip set, on off. use set to set bits, flip to flip bits, to turn bits on and off.


[1] Qweak