|
 | | IC Problems
|
| OK all of you IC gurus. How come I can't do this: int m() { int *address; address=&a0; address++; } a0 is a variable defined in an .icb file. I also can't do something like address=address+2; or address[4]=7; Why not? This is all pretty standard C (...) (29 years ago, 8-Feb-96, to lugnet.robotics.handyboard)
| |  | | IC Problems
|
| OK, OK. RTFM, I know. I looked at the on-line manual, and now realize that IC arrays are different than normal C arrays, and so you can't do stuff like int m() { int *address; address=&a0; address++; } But then the question still remains, how can I (...) (29 years ago, 8-Feb-96, to lugnet.robotics.handyboard)
| |  | | IC Problems
|
| (...) Brian> But then the question still remains, how can I define a list of Brian> consecutive memory locations in a .icb file and then access Brian> them from within a loop in a .c file? [ ... ] Brian> Anybody run into this before or have any (...) (29 years ago, 8-Feb-96, to lugnet.robotics.handyboard)
| |  | | Quad encoders
|
| Thx to the advice of many of you I am using encoders from mice as shaft encoders. The code in the libraries does not seem to take into account encoders with TTL signal in quadrature. Therefore I do not get direction from the current software. Maybe (...) (29 years ago, 11-Feb-96, to lugnet.robotics.handyboard)
| |  | | battery voltages
|
| I'm currently trying to get 6V out of my 9.6V battery pack. (I actually looked around for a 6V one, but couldn't find one that would work...) I've opened up the pack, and can access the cell where I can get 6V. However, I'm not sure how to get a (...) (29 years ago, 11-Feb-96, to lugnet.robotics.handyboard)
| |