 | | Re: Type conversion IC.
|
|
I don't have IC handy, but you should just be able to do a hard cast. float aFloat = 1.3; int anInteger = 0; anInteger = (int) aFloat; /*cast the float to an int */ /*you can also do it in a function call*/ FuntionTakesAnInt( (int) aFloat ); Hope (...) (27 years ago, 7-Jan-99, to lugnet.robotics.handyboard)
|
| |
 | | type conversion
|
|
Hi to all And HAPPY NEW YEAR. I have a question. How can i convert a floating variable into a integer variable? I must send via serial line the result of the functions SECONDS(). Thank Federico E-mail:fedsante@tin.it (27 years ago, 6-Jan-99, to lugnet.robotics.handyboard)
|
| |
 | | Type conversion IC.
|
|
Hi to all And HAPPY NEW YEAR. I have a question. How can i convert a floating variable into a integer variable? I must send via serial line the result of the functions SECONDS(). Thank Federico E-mail:fedsante@tin.it (27 years ago, 6-Jan-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: Handyboard power supply
|
|
what is the amp-hour rating of each cell. standard AA rechargables are 500 to 800 mAh. if your cells are significantly different than this, the charging might not work properly. generally though i don't see too many probs with this. you might need (...) (27 years ago, 6-Jan-99, to lugnet.robotics.handyboard)
|
| |
 | | GP2D02?
|
|
If anyone who has successfully interfaced the GP2D02 to the Handyboard would share that knowledge with the less experienced, it would be greatly appreciated. Thanks! (27 years ago, 6-Jan-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: using external batteries
|
|
the label on the diagram says "cut motor trace here" with an arrow that points to a dark band. if you look at your HB, it won't have a dark band. that's where you need to cut. slice through the green-coated trace where that dark band on the picture (...) (27 years ago, 6-Jan-99, to lugnet.robotics.handyboard)
|
| |
 | | using external batteries
|
|
dear readers and fred, i read the instructions on the website on how to use external battaries. the problem is: - in the website, i couldnt see the copper trace properly which we need to cut in order to use the external batteries port. could any one (...) (27 years ago, 6-Jan-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: servo help
|
|
try running the servo off of a separate power supply; e.g., 4 AA cells. you'd connect the servo red wire to the battery + lead, the servo black wire to the battery - lead, and also connect the battery - lead to the HB motor ground. in general it is (...) (27 years ago, 6-Jan-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: INTERACTIVE C
|
|
We have developed a library of functions so that one can write HB-style code and run it either on the HB or compile it with the library and run it on a PC. It hasn't been thoroughly debugged, but works consistently (There are some timing issues that (...) (27 years ago, 6-Jan-99, to lugnet.robotics.handyboard)
|
| |
 | | Interrupt Request line
|
|
Hi all, Does anyone know how to get a the interrupt line on the handyboard. Been looking at the documentation, and was a bit surprised that the interrupt was not available. Am I missing something? Charles Hacker Lecturer in Electronics, Computing (...) (27 years ago, 6-Jan-99, to lugnet.robotics.handyboard)
|