 | | Re: Multi dimentional Arrays
|
| (...) <snip> You might try using a one-dimensional array of size 100, along with a simple indexing function to simulate a two-dimensional array: int myarray[ 100 ]; int index( int row, int col ) { return 10 * row + col; } void main() { int i = 0, j (...) (28 years ago, 29-Sep-98, to lugnet.robotics.handyboard)
| | |  | | IC Programming.
|
| Hi all, Does anyone know how to convert floating point variables to integers in IC? I want to use the control the motor using an algorithm. However, that algorithm always return a floating point number, and motor(m,p) can only use integer p. Keith (28 years ago, 29-Sep-98, to lugnet.robotics.handyboard)
| | |  | | Lego Mindstorms
|
| Has anybody got one ?. If so what's the programming aspect like. Thanks in advance. John Hatton john_hatton@bigfoot.com (28 years ago, 29-Sep-98, to lugnet.robotics.handyboard)
| | |  | | Re: Down loading IC
|
| Hello, You have to download the IC in download-mode again. All memory (32K volatile SRAM) will be lost after you disconnect all the power from the board. However, if you just turn-off the power (without removing power adapter or batteries) of the (...) (28 years ago, 29-Sep-98, to lugnet.robotics.handyboard)
| | |  | | Does Karl Lunt's SBASIC work with HB?
|
| Hi all, I just read a great article from Karl Lunt in a robotics magazine about beginning programming (exactly where I am) and the 68HC11. He mentioned that he has a basic compiler that you can download from his site. Does anyone know if this will (...) (28 years ago, 29-Sep-98, to lugnet.robotics.handyboard)
| |