uM-FPU from MicroMega for Javelin?
TyreBiter
Posts: 40
I am new to the javelin forum. I have been having fun with the JBot and Java. As a programmer I am used to thinking in terms of floating point arithmatic. The microcontroller is a lot of fun, but I keep running into the 16bit arithmatic barrier. The floating point unit looks like a good way to solve my problems. I was wondering if anyone has written any code for the uM-FPU from MicroMega.
Thanks...
Thanks...
Comments
http://www.micromegacorp.com/downloads/documentation/uM-FPU%20Javelin%20Reference.pdf
and the Javelin classes here
http://www.micromegacorp.com/downloads/software/
regards peter
·
I appreciate the speed of your reply. Sorry to miss the obvious.
Regards...
The uM-FPU works well with the Javelin Stamp. You can find lots of additional information and application notes about using the uM-FPU on the Micromega website located at www.micromegacorp.com.
Note: The currently posted Javelin class is for the uM-FPU V1 chip. There are a couple of changes to the reset method that must be made to be compatible with uM-FPU V2. (The reset pulse needs to be 500 usec followed by an 8 msec delay.) I will make the changes to the class by tomorrow at the latest and send a new version to Parallax for posting. In the meantime, you can email support@micromegacorp.com to request a copy be sent directly to you.
Regards,
Cam
Micromega Corporation
Is it possible to do plotting with the Javelin?· --XY plot with animated
points on the plot, being updated every couple of seconds from measurement
data?· Has any one done it?
Steve
http://www.selmaware.com/stampplot/
but that requires a bidirectional Uart.
You can do simple XY plotting to the Jide message window by
outputting lines like
"···· ."
"·· ."
"··· ."
etc.
where each line is a fixed X-step and the dot position reflects the Y-value.
It may be possible to do some cursor control so you could overwrite previous lines
(i.e animating the plot) but I do not know the cursor control codes (if any).
regards peter
· static final int JIDE_HOME··· = 1;· //move cursor to upper-left position (home)
· static final int JIDE_LEFT··· = 3;· //move cursor one position to left
· static final int JIDE_RIGHT·· = 4;· //move cursor one position to right
· static final int JIDE_UP····· = 5;· //move cursor one line up
· static final int JIDE_DOWN··· = 6;· //move cursor one line down
· static final int JIDE_BELL··· = 7;· //sound bell
· static final int JIDE_BS····· = 8;· //delete character to left of cursor and move cursor left
· static final int JIDE_TAB···· = 9;· //appears to be ignored by IDE message window, also '\t'
· static final int JIDE_NEWLINE = 10; //move cursor to start of next line, also '\n'
· static final int JIDE_CR····· = 13; //appears to be ignored by IDE message window, also '\r'
· static final int JIDE_CLS···· = 16; //clear message window and home cursor
regards peter
·
as a LCD display. The files are located here. It uses the in the previous reply mentioned
cursor control values to mimic an lcd.
http://groups.yahoo.com/group/JavelinCode/files/Javelin%20Stamp%20IDE/lib/stamp/peripheral/display/
regards peter