OLED fun

OLED driven and powered from PC parport:

formatting link

Would like to see it in a watch...

formatting link

It is amazing how much light can come from a parport data pin... And it was on contrast setting 0 at 17:03.

PC script: /usr/local/sbin/date_to_oled

while [ 1 ] do year=$(date +%Y) day=$(date "+%A") month=$(date "+%b %d") time=$(date +%H:%M) hour=$(date +%H) contrast=0 if [ "$hour" -lt 16 -a "$hour" -ge 8 ] then contrast=128 fi lm096_oled -c -k $contrast -x 20 -y 0 -t "$year" -d -g lm096_oled -k $day -x 8 -y 2 -t "$day" -d -g lm096_oled -k $contrast -x 8 -y 4 -t "$month" -d -g lm096_oled -k $contrast -x 16 -y 6 -t "$time" -d -g sleep 60 done exit 1

Reply to
Jan Panteltje
Loading thread data ...

Latest:

formatting link

wget

formatting link

Reply to
Jan Panteltje

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.