Re: [Owfs-developers] PHP Library
On 9/19/06, Roberto Spadim [EMAIL PROTECTED] wrote: could we put in ./configure script to build owfs something like --php-suffix=OW_ or something like it? the default could be ./configure --php-suffix= if we want with OW_ we should use: ./configure --php-suffix=OW_ :D i'm using init today, but is very ugly :( OW_init could be more pretty and is library_function Here's another option, add ow_* functions to call the current function set in ow.i. Notify users that the current functions are going away in 3 months (or some period.) Change the existing perl, php, python and tcl bindings to use the new ow_* functions. And possibly add print statements to stderr which show a depreciation warning message whenever someone calls into the old ow.i functions. Something like: [EMAIL PROTECTED]:~/src/owfs/module/swig diff ow.i ow.i.experiment 30a31,34 char *ow_version( ) { return version(); } 40a45,49 int ow_init(const char *dev) { return init(dev); } 55a65,69 int ow_put(const char *path, const char *value) { return put(path, value); } 114a129,134 char * ow_get(const char * path) { return get(path); } 120a141,145 void ow_finish(void) { finish(); } 130a156,161 extern char *ow_version( ); extern int ow_init( const char * dev ) ; extern char *ow_get( const char * path ) ; extern int ow_put( const char * path, const char * value ) ; extern void ow_finish( void ) ; - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
[Owfs-developers] DS2408 LCD_M OR LCD_H
OK LCD_H is 4 bits and LCD_M isn't but we don't have CMD file (function), (i think that will work only for LCD_H) like /LCD_H/send_command and when i make this: echo LCD_CLEAR ./send_command or something like echo 1 ./send_command it send clean command to LCD with this commands we can control LCD from computer fully, cause i know that have some constants that isn't implemented on mikroc like MOVE TO POSITION 4,5 and it's only 8 bits command did you read the full message? see: *void* Lcd_Cmd(*unsigned short* command); Description Sends |command| to LCD. You can pass one of the predefined constants to the function. The complete list of available commands is below. Example Clear LCD display: Lcd_Cmd(Lcd_Clear); Available LCD Commands LCD Command Purpose LCD_FIRST_ROW Move cursor to 1st row LCD_SECOND_ROW Move cursor to 2nd row LCD_THIRD_ROW Move cursor to 3rd row LCD_FOURTH_ROW Move cursor to 4th row LCD_CLEAR Clear display LCD_RETURN_HOME Return cursor to home position, returns a shifted display to original position. Display data RAM is unaffected. LCD_CURSOR_OFF Turn off cursor LCD_UNDERLINE_ONUnderline cursor on LCD_BLINK_CURSOR_ON Blink cursor on LCD_MOVE_CURSOR_LEFTMove cursor left without changing display data RAM LCD_MOVE_CURSOR_RIGHT Move cursor right without changing display data RAM LCD_TURN_ON Turn LCD display on LCD_TURN_OFFTurn LCD display off LCD_SHIFT_LEFT Shift display left without changing display data RAM LCD_SHIFT_RIGHT Shift display right without changing display data RAM - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
[Owfs-developers] next release howto
what's the best way to change code and send to you to put on next release? send the file or just a diff?? what command should i use with diff? thanks - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
[Owfs-developers] i2c
hello guys have any i2c adapter to pc?? that work with linux i'm using today 2480, but i want use DS2482-800 or DS2482-800 can i use then?? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
[Owfs-developers] i2c
can i use pic to make rs232- i2c converter??? does ds2482 allow always 400khz? or we need to change speed??? i don't need we can use pic to make rs232 to i2c but what should we use with owfs? serial or i2c??? anyone want build an pic i2c to usart with me?? i'm very good on pic and have many compilers for pic thankx guys i can put code as opensource after ;) bye - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] next release howto
What ever works for you.Diff is easy, though if it isn't too extensive, I usually just look at it and make the changes manually.Do enough work and you become a developer.Paul On 9/20/06, Roberto Spadim [EMAIL PROTECTED] wrote: what's the best way to change code and send to you to put on next release?send the file or just a diff??what command should i use with diff?thanks- Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Owfs-developers mailing list Owfs-developers@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/owfs-developers - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] i2c
1. DS2481-x00 is supported, fully.2. The PIC (or other microprocessors) have been brought up a few times.I have a proposed serial communication scheme (very light-weight) that we could implement. You have think about how much of the smarts in in your microprocessor, and how much is in the host. 3. For the record, supported adapters are listed at http://www.owfs.org/index.php?page=bus_mastersPaul Alfille On 9/20/06, Roberto Spadim [EMAIL PROTECTED] wrote: can i use pic to make rs232- i2c converter??? does ds2482 allow always400khz? or we need to change speed??? i don't need we can use pic tomake rs232 to i2cbut what should we use with owfs? serial or i2c??? anyone want build an pic i2c to usart with me?? i'm very good on pic and have many compilersfor picthankx guysi can put code as opensource after ;)bye- Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Owfs-developers mailing list Owfs-developers@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/owfs-developers - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers