Dnia 2011-01-28, pią o godzinie 03:35 -0200, Roberto Spadim pisze: > for "Û" you will use in you program \xFF for example, you will not use > "Û" since it's not \xFF (8 new characters) a conversion MUST be done > between owfs and your bash or program (not between owfs and onewire + > display) > got? Yes I understand that. I think that these addresses start at 00h to 07h in LCD code page. So if I put "Û" at 00h in CGRAM and then want to display it I need to do smth like this printf \x00 > LCD_H/screen
> this's a feature request for owfs: *write 1 character bitmap to display rom* That's correct. Also updating only one character bitmap would be usefull. The is might be an issue with other languages which may require more than 8 additional chars(of if you want to use capital letters). Then first you have to scan your message determine which additional chars you need and if they’re not in CGROM put them there. Of course user have to keep track what was written to the CG ROM. As for Paul's concerns > Ok, I'll have to look and make sure the CGRAM programming can be done > in 4bit mode and that we have all the needed pins available. Also a > working code example (in any language) would be nice. Form what I read in specs it's possible with available pins. Unfortunately I don't have acess to my LCD now. Maybe next weekend. I think the bash code will look smth like this. #assuming the LCD is initialized printf "\x0" > strobe # not sure if this is right #set CG RAM ram address to 00f RS is set to instruction so PIO.3=0 #PIO.3 #RS R/W d7 d6 ............d0 #0 0 0 1 (6 bit address) the address if in range from 0 to 63 printf "1,1,1,0,0,0,1,0" >PIO.ALL printf "1,1,1,0,0,0,0,0" >PIO.ALL #after setting the address you write like to normal DD RAM, the counter #PIO3=1 #should increment itself #1 0 8 bits #1 bit printf "1,1,1,1,x,x,x,x" >PIO.ALL printf "1,1,1,1,x,x,x,x" >PIO.ALL #2 bit and so on -- 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
