RE: 1-Wire fun
"Kelly Smith" <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Dear Paul - Specifically you can do something like this: @echo Instructions: The home directory of your TINI distribution must be set to @echo the environment variable TINI_HOME @echo For example: set TINI_HOME=e:\tini1.02 @echo off mkdir tini @echo Compile... javac -bootclasspath %TINI_HOME%\bin\tiniclasses.jar -classpath ..\..\lib\owapi_dependencies_TINI.jar;. -d tini src\*.java @echo TINI Convert... java -classpath %TINI_HOME%\bin\tini.jar;. BuildDependency -p ..\..\lib\owapi_dependencies_TINI.jar -f tini -x ..\..\lib\owapi_dep.txt -o tini\ReadTemp.tini -add Thermometers -d %TINI_HOME%\bin\tini.db Best regards, Kelly Smith -----Original Message----- From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]]On Behalf Of Nathan Gustavson Sent: Wednesday, January 21, 2004 7:02 AM To: 'Paul Ingendorf' Cc: Tini (E-mail) Subject: RE: [TINI]1-Wire fun With OW it's all about dependencies, Read the readme on BuildDependencies. When you compile OW code you compile it against a section of the OW libraries that you define. If you don't tell the code it has these dependencies it will compile but won't recognize any devices. Ex, to compile ReadTemp you have to compile in the THERMOMETER dependency or it won't recognize any devices. NZG. > -----Original Message----- > From: tini-admin-6tN4nzCoH/[email protected] > [mailto:tini-admin-6tN4nzCoH/[email protected]]On Behalf Of > Paul Ingendorf > Sent: Tuesday, January 20, 2004 6:49 PM > To: tini-6tN4nzCoH/[email protected] > Subject: [TINI]1-Wire fun > > > I just received my tini board a few days ago and I have been > trying out > various things on the board. I downloaded the latest version > of the java > api and got slush loaded etc... I then began writing code > and compiling it. > Most of it ran ok with the exception of the 1-wire code I had > written. I > grabbed code from > http://it-ingenior.vitusbering.dk/sw8068.asp and tried it > out after figuring out how to get it to compile I was > suppressed that it > would not find the ds1822. Another piece of code from the > previous site > enumerates devices on the 1-wire bus. The first item that is > displayed is > the ds1822 and the second is the ds2408. > > I am trying to figure out what I can do if anything to learn > this as it > appears as if this whole area is very fluid and what was true > yesterday > regarding the interface may not be true today. If anyone has > any pointers I > would appreciate it. > > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list archives: > http://lists.dalsemi.com/mailman/listinfo/tini > _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini