| | Re: converting binary to integer
|
|
(...) You can always read the port directly like so: (int) data = peek(0x7000); If the bits you're interested in happen to start with the 'least-significant- bit' (LSB) and continue consecutively (eg 0b00000111) where the 1's are the bits you're (...) (27 years ago, 4-Jun-97, to lugnet.robotics.handyboard)
|
|
| | Re: converting binary to integer
|
|
(...) Multiply each bit by 2^n, where n is the "place" of the number. Then add the products together. For example... 1011 = 1*2^0 + 1*2^1 + 0*2^2 + 1*2^3 = 11 The "zero" place is the one furthest to the right, and you work left from there. ---...--- (...) (27 years ago, 4-Jun-97, to lugnet.robotics.handyboard)
|
|
| | converting binary to integer
|
|
I am reading four digital inputs and I need a way to convert those four bits into a decimal number. Is there an easy way to do it. Thanks. Keith Keith Soldavin kas219@email.psu.edu (URL) (27 years ago, 4-Jun-97, to lugnet.robotics.handyboard)
|
|
| | Ineed the blank PCB of Handy board!!!
|
|
Can anyone tell me who and where obtain the handy board and interface charger Blank PCB???? I livein Argentina, I paid as you like , but PLEASE I NEED THIS QUICKLY!!!!! Thanks!!! ggentile@cvtci.com.ar (27 years ago, 4-Jun-97, to lugnet.robotics.handyboard)
|
|
| | robot vision
|
|
Is there a web page for the CCD processing board from MIT.I know of the cognachrome vision system, is there any others. Thank you, JoeMartin Email:joema@mpx.com.au (27 years ago, 4-Jun-97, to lugnet.robotics.handyboard)
|