All right, I now have a working audio bar graph ( but it seems the chars I'm writing are no more "blocks of different height" afer a reset ? -> I gotta digg the stuff to write from the char map, but it seems weird some chars work and some don't ( or have a different charcode: ex: 0100 or 00000100 gives me an @, but it seems not consistant ? I surely use it the wrong way .. ) )
pics of bar graph before ( "blocks of different height") added
Anyway, the "blocks" are gotten using lcd.write(0..7) ( increase the num for taller block )
( 'd be nice to know if we can have those flipped up without using special chars - to represent some audio stuff ;p )
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
back ! :D
All right, I now have a working audio bar graph ( but it seems the chars I'm writing are no more "blocks of different height" afer a reset ? -> I gotta digg the stuff to write from the char map, but it seems weird some chars work and some don't ( or have a different charcode: ex: 0100 or 00000100 gives me an @, but it seems not consistant ? I surely use it the wrong way .. ) )
The char map/set I'm talking about is from the datasheet, "Table 4"
https://www.sparkfun.com/datasheets/LCD/HD44780.pdf
pics of bar graph before ( "blocks of different height") added
Anyway, the "blocks" are gotten using
lcd.write(0..7)
( increase the num for taller block )( 'd be nice to know if we can have those flipped up without using special chars - to represent some audio stuff ;p )
+
2 Attachments