Javelin Classes on Yahoo
Peter Verkaik
Posts: 3,956
Jon,
You can make this thread sticky.
While Parallax still works on a (browsable) files area,
I created a new Yahoo Group called JavelinClasses.
http://groups.yahoo.com/group/JavelinClasses/
I recreated the Javelin Stamp IDE folder layout in
the files section. I will upload my classes there
shortly.
I invite people to put any classes that they want
to share in the files section in the correct folder.
This way there is a single place where to browse
for classes until Parallax has its own files section.
regards peter
·
You can make this thread sticky.
While Parallax still works on a (browsable) files area,
I created a new Yahoo Group called JavelinClasses.
http://groups.yahoo.com/group/JavelinClasses/
I recreated the Javelin Stamp IDE folder layout in
the files section. I will upload my classes there
shortly.
I invite people to put any classes that they want
to share in the files section in the correct folder.
This way there is a single place where to browse
for classes until Parallax has its own files section.
regards peter
·
Comments
Please rename this to "Javelin Code". I think this will more clearly indicate to people what is here.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
To delete a group I must click a Delete Group button which
I cannot locate on Yahoo (anybody?). Renaming is not possible.
So to prevent any misleading names·I will create another group
called JavelinCode. No code has been uploaded yet, so no big deal.
http://groups.yahoo.com/group/JavelinCode/
Sorry Allan, you will have to join the JavelinCode group now.
I used part of your first message as group description text.
regards peter
·
JavelinCode is created (no code uploaded yet).
http://groups.yahoo.com/group/JavelinCode/
regards peter
Maybe use the Yahoo group JavelinCode for fixes?· Better would be a version controlled structure to allow developers to upload fixes.
I uploaded the fixed String.java to its proper location.
I have put in a bugfix header that tells when and who fixed what.
http://groups.yahoo.com/group/JavelinCode/files/Javelin%20Stamp%20IDE/lib/java/lang/
regards peter
I have posted my FileSystem class to
http://groups.yahoo.com/group/JavelinCode/files/Javelin%20Stamp%20IDE/lib/stamp/filesystem/
The test program creates a filesystem in a table in system ram.
You don't need special hardware to test or use it in system ram
or system eeprom.
Since the table is a list inside a heap defined in a memory object, it·is enough
to create an I2C memory object to have a filesytem in eeprom.
I also have a working Fat16 class that uses the same FileSystem class
but I must prepare a schematic for it before posting because it requires
an SX28 chip.
regards peter
Posted the wrong FileSystem class. Have uploaded the correct one now.
regards peter
I have uploaded a simple basic interpreter for the javelin that
shows the use of my memory, heap, list, format·and filesystem classes.
http://groups.yahoo.com/group/JavelinCode/files/Javelin%20Stamp%20IDE/lib/stamp/interpreter/basic/
Note that the filesystem classes are updated to support char[noparse]/noparse
filenames as well as String filenames.
The interpreter has a live interaction mode, which should be right
for a live script, preferable using serial ports. This script·class has
not been written yet, but the interpreter serves as a sample how it
could be done.
Merry·Xmas,
peter
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
I have never programmed Python, but it looks like yet another
C descandant, like many other languages (such as delphi or java)
If it uses brackets for IF..THEN that would require quite a rewrite
because this port only does·single line blocks.
But I welcome anyone to give it a try.
regards peter
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
I posted an IntegerMath class in the files section:
http://groups.yahoo.com/group/JavelinCode/files/Javelin%20Stamp%20IDE/lib/stamp/\
math/
Here you will find sin(x), cos(x) and atan2(y,x) that uses only integer
math, so the
results are truncated and mapped to an integer range. The code size is
considerable less
than the floating point libraries.
regards peter
·
I am using your Uart and Uart.Tools. When I try to use ODD parity my Protocol Analyzier shows errors on evert byte, and some bytes have "8" in the first character. I sent "10 bc 01 06 06 30 00 00 00 02 01 00 10 03" got with errors "10 bc 01 86 86 83 80 80 80 02 01 80 10 83". With parity to set to NONE all is well.
Uart txP1 = new Uart(Uart.dirTransmit, UartTools.ODD, CPU.pin6,
Uart.dontInvert, 0, Uart.dontInvert, Uart.speed9600, Uart.stop1);
Thanks Russell
You can't send 0xBC with parity because bit7 will be cleared first, so 0x3C is sent.
Try my attached program.
It sends 'A' to 'Z' using odd parity.
On the PC I have·Hyperterminal set to 9600 baud, 1 start, 1 stop, 7 databits, odd parity, no handshake.
All the characters 'A' to 'Z' receive correct.
regards peter
Post Edited (Peter Verkaik) : 8/8/2005 7:37:16 PM GMT
Sounds like I might have to change its setup some how.
Russell
Only 8 databits without parity, or 7 databits with parity.
regards peter
·
http://groups.yahoo.com/group/JavelinCode/files/JideTerm/
regards peter
uploaded to JavelinCode group.
http://groups.yahoo.com/group/JavelinCode/files/subjava
Substitutions files for javelin packages will be stored there.
Currently only a testfile for Float32 package.
regards peter
·
http://tech.groups.yahoo.com/group/JavelinCode/files/Javelin%20Stamp%20IDE/lib/stamp/util/text/
·* Bug fix, June 21, 2007
·*·· a negative number with padded '0' returned incorrect index value for bprintf()
·*·· eg. k = Format.bprintf(buf,k,"%04d",value); returned incorrect k if value<0
regards peter
As use the arcsin and while values I must introduce?
Thank you very much.
A greeting
PD: In order to verify I number, you can also help me with the sin? Thank you very much.
http://tech.groups.yahoo.com/group/JavelinCode/files/Javelin%20Stamp%20IDE/lib/stamp/math/
regards peter
Start a thread "IDE v2.0.3 Javelin Classes Bugfixes"
Send a PM to Chris Savage with a request to
make that thread sticky.
regards peter
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
I may create that thread myself.
regards peter
the files section. I will upload my classes there
shortly too.Thank you once again God Bless!
regards
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
make money online