one think... what charset owfs use? it's does it convert from to any
charset? or it's using ascii table only? (cb850 i think..)

2011/1/27 Roberto Spadim <[email protected]>:
> i used lcd on pic18f, putting charset is a very slow feature (for
> onewire lan) ok it can run on 1bit/s network but will wait a very big
> time
> maybe put charset could be easier for microcontrollers on serial port
> (another project here should be better.... not owfs, but
> charset_creator_HD44780 with hardware and software developed)
> about charset conversion, use the iconv library it's bash available
> too, php have it perl have it many languages have it:
> http://www.gnu.org/software/libiconv/
>
> 2011/1/27 patyrk <[email protected]>:
>> Dnia 2011-01-26, śro o godzinie 21:01 -0200, Roberto Spadim pisze:
>>> the problem is, how to identify what´s the filesystem charset, after
>>> this everythink is easy
>>> maybe a "function" on owfs
>>> echo asdfadf > message
>>> echo asdfasdf > message_latin1
>>> echo asdfasdf > message_cb850
>>>
>>> or somethink that convert string on owfs sourcecode (not on bash side,
>>> but in owfs side)
>>> we can use iconv library to work with us
>>
>> The problem is also the lack of all characters in standard HD44780
>> display. For instance there are no Polish diacritics so the use of iso
>> latin 2 make little sense.
>>
>> But AFAIK in HD44780 you can define 8 user characters.
>> From the data sheet page 13
>> "Character Generator RAM (CGRAM)
>> In the character generator RAM, the user can rewrite character patterns
>> by program. For 5 × 8 dots, eight
>> character patterns can be written, and for 5 × 10 dots, four character
>> patterns can be written."
>> http://home.iae.nl/users/pouweha/lcd/lcd0.shtml#instruction_set
>> I think RS should be set to 1 and as it's connected to PIO.3 so it's
>> possible to do it using HB and Maxim design.
>>
>> It would be nice to have something like
>> LCD_H/user_char
>> where you can write your own char map for instance
>> echo 0:4, 10, 17, 10, 10, 10, 10, 14 LCD_H/user_char
>> first the place where the char should be written 0-7
>> and then the map
>> http://wkretak.pl/wp-content/grafika/avrlcd/cyfra1.jpg
>>
>> And then the user could supply his/her own conversion for additional
>> chars form the char set he is using to LCD code page. It could be a
>> parameter to owserver smth like alias file.
>> If a user puts letter ź to CGRAM at the index 0 and he is using latin2
>> charset the file would look like
>> #charset numer  cgram index
>> 0xBC            0
>>
>> --
>> P4trykx
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
>



-- 
Roberto Spadim
Spadim Technology / SPAEmpresarial

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to