Shop OBEX P1 Docs P2 Docs Learn Events
Picture showing code for Nokia — Parallax Forums

Picture showing code for Nokia

RaymanRayman Posts: 14,162
edited 2008-04-09 20:28 in Propeller 1
I posted some basic code for Sparkfun's "Nokia Knock-Off" LCD display a little while ago...

This expands on that with the ability to show pictures.·
Also, there are flags to rotate the display 180 degrees or mirror...

I've also included a little windows app to convert regular pictures into raw data for the display.

I've included a couple test images.

Note that contrary to popular believe, this display is actually 130x130 pixels.
However, it's a bit complicated because the origin depends on the screen rotation (it's not always at x=0,y=0)
But, this code takes this into account...

I've got previous notes here:
http://www.rayslogic.com/propeller/Programming/RaysStuff/Nokia/SparkfunNokia.htm

Comments

  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2008-04-08 06:28
    What is the raw data format you are transfering the images into?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter

    www.brilldea.com·- check out the uOLED-IOC, an I/O expansion for the uOLED-96-PROP
    www.tdswieter.com
    One little spark of imagination is all it takes for an idea to explode
  • RaymanRayman Posts: 14,162
    edited 2008-04-08 15:14
    It's 12-bit either as 1.5 bytes per pixel or 2 bytes per pixel (wasting 4 bits). First byte in file is type, second byte is width, third byte height, rest is pixel data...

    The Nokia display also accepts 1 byte/pixel data in same format as OLED-96-PROP, but I'm not using that...
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2008-04-09 01:41
    Really? The Nokia display is able to read data in a RRGGBB 8-bit format? Are you able to adjust your windows tool to spit out data in this format? That could be of use!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter

    www.brilldea.com·- check out the uOLED-IOC, an I/O expansion for the uOLED-96-PROP
    www.tdswieter.com
    One little spark of imagination is all it takes for an idea to explode
  • RaymanRayman Posts: 14,162
    edited 2008-04-09 20:28
    Maybe I'll get back to that soon.· Right now, I'm trying to get motivated to work on a Prop-Oled contest submission...

    (But, I think it'd be more fun to connect a Prop to my STM32Primer...)
Sign In or Register to comment.