Wow, thanks. I'm glad I actually know why it does that now. I have some future routines that do some if(char>96) stuff, so looks like I'll want to use an int...
Hi, I am wondering how (if?) I can use the Handy Board (HB) SPI interface while the Expansion Board (XB) is plugged in. Amoung other things, I am thinking of...
Nick, As long as you don't use the sonar on the XB then the SPI is free to use for whatever you want. Just don't call any of the sonar routines. -Dan...
Hey, I have a few lines of code here (they run through 7 neurons for an ANN (artificial neural network) trained to be a line follower. The problem is, in its...
Phil, I have always gone by the philosophy that a program is more defined by its data structures than its instructions. Would you mind including the structures...
Hi all, does anyone have a pid algorithm that I can ues to controll the position of a motor(n,algorithm_output) using an analog(n) value for position feedback....
I used the following program to atempt to get benchmarks on the HB for float, long and int addition. int x = 10; long y = 20L; float z = 30.0; void main() { ...
Jim, After looking at the original "ANN" question, I too did a quick test of float versus int, etc. Honestly, I didn't post results because I have yet to...
I have some questions about the eXpansion Board. Currently, I have 2 HBs and 1 XB. I'll likely get another XB. It's so simple and low cost compared to it's...
Well, I've figured out what the big time-coster is: exp(). I used your benchmarking code, and tried 100 iterations of exp(x) with various common netinput...
Hello, I thought I had read on one of the old posts that there was a patch to allow a larger 20x4 LCD display to be used instead of the standard 16x2 display....
I just had an idea. It takes some of the "coolness factor" out of the program, but its a back-propogation ANN (completely static, will not learn from its...
Hello, I suppose my last post to this thread was on the money then. No suprise. Complex math such as exp(), sin(), etc are SLOW. But my reason for this...
Robert, The LCD module used on the Handy Board uses a fairly common LCD interface which comes in various sizes. You *CAN* adapt the HB circuitry for a...
Hi Nick, ... In the Handy Board, the digital input #7-#9 are ports of PA: digital #7 = PA0 digital #8 = PA1 digital #9 = PA7 Port has got 8 pins: -4 of these...
The lookup approach is a good idea, one I used in the old S-100 days, even when memory was expensive! You can use a input to activation table as you suggest....
What is the maximum program memory that the handyboard can address? I am trying to figure out if the handy board is suitable for my application that will use...
Hello Nick, I have plugged in some of the larger LCD panels and they did work but could not display any extra characters. I seem to recall that someone had...
Ramesh, The answer depends on the OS you intend to use. The HC11 Micorprocessor has 32K of ram. When running Interactive C the max size of the resultant Pcode ...
After downloading the 4.01 IC interpreter you should have ~ 85% of the address space available. That is: about 27K bytes. DRAIT ... From: <choks4@...> ...
Even the tiniest of tiny bugs have neural nets...=). They all have weighted connections, a bias, and an activation signal(however, it either activates all the...
I noticed the following comment in the hb_lib.ic file and I couldn't help but wonder if this is still true (I use IC4). If TRUE, then how does one disable...
The IC 4.0 compiler for the Handyboard has a great non-standard global attribute for storage called persistent. With it a global variable (or array of...
Jim, Great suggestion for using persistant variables to avoid run time table initialization!!! Also, if the persistant variables are at the start of the...
Jim, I tested it but I can't say if it works or not. It didn't crash. I suppose measuring an approx 10% diff is difficult enough but when I try each...
Spell checkers asside, the attribute is "persistent" not "persistant". also, it works equally well for structures and arrays. I use perisitent arrays in...