Winstar OLED Display Problem with lcdout comands


Closed Thread
Results 1 to 33 of 33

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Location
    Tennessee
    Posts
    262


    Did you find this post helpful? Yes | No

    Default Re: Winstar OLED Display Problem with lcdout comands

    hopeing you didnt overlook

    "PAUSE 500 'Wait 5 Sec."
    5000 = 5 seconds not 500

    I dont see any tris statements, did you turn off analog, did you turn off comparitors,

    If you have a standard lcd, I would try to hook that up first and make sure your program is working first,
    then use the OLED, there should be no differeance, but you never know.

    Ill be willing to bet its the TRIS statements missing, I did that last week forgot to set my tris and my display didnt do jack poop
    Chris


    Any man who has accomplished anything in electronics at one time or another has said... " STOP! WAIT! NOOO! Dangit.... Oh Well, Time to start over..."

  2. #2
    Join Date
    Nov 2011
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: Winstar OLED Display Problem with lcdout comands

    Quote Originally Posted by wdmagic View Post
    hopeing you didnt overlook

    "PAUSE 500 'Wait 5 Sec."
    5000 = 5 seconds not 500

    I dont see any tris statements, did you turn off analog, did you turn off comparitors,

    If you have a standard lcd, I would try to hook that up first and make sure your program is working first,
    then use the OLED, there should be no differeance, but you never know.

    Ill be willing to bet its the TRIS statements missing, I did that last week forgot to set my tris and my display didnt do jack poop
    Thanks just anotation error .5 not 5sec the pauses as long as they are long the time isnt critical.

    Doesnt lcdout set the tris by default on the use of lcdout still tried TRIS for Port A and B.

    No change.

    Still works perfect on lcd not oled

  3. #3
    Join Date
    Feb 2013
    Posts
    1,137


    Did you find this post helpful? Yes | No

    Default Re: Winstar OLED Display Problem with lcdout comands

    Since some info gone due to database crash, below is my personal experience with Winstar WS0010 based 1602 oled screen.

    The following commands using LCDOUT $FE,digit do the following:

    19 low brightness
    27 graphic mode / low brightness
    31 graphic mode / normal brightness
    32 high brightness
    33 high brightness / EN/WEST characters
    34 high brightness / EN/RUS characters
    35 high brightness / EN/EU characters
    36 normal brightness / default char?
    41 normal brightness / EN/WEST
    42 normal brightness / en/rus
    43 normal brightness / en/eu

    There are some other codes too, below 19, which do less useful things, like shift display right or left, enable-disable cursor and so on. Also, there might be some statements above 43, which do something, but had no time to check in details.

    These commands can be used in mid-code, any time, but if you had something to display, you need to do it again. I mean, say you have "hello world" on the screen, and you decided to change brightness, by sending LCDOUT $FE, 19, you need to send command to display "hello world" again, to see the effect.

    For the brightness, there are several ways to adjust it.

    1. Solder pot to the specific area on PCB (google for details).
    2. Adjust brightness as I've shown, but when you set low brightness, you can see that pixel brightness is not even, not so pleasant effect.
    3. Enable/disable display quite fast via the dedicated pin - it is reasonably fast, so you can hook it to HPWM output of your chip.

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,144


    Did you find this post helpful? Yes | No

    Default Re: Winstar OLED Display Problem with lcdout comands

    Thank you for the useful info on the Winstar displays.

    Ioannis

Similar Threads

  1. Problem with GOSUB/GOTO and Newhaven OLED question
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 12th April 2013, 10:24
  2. LCDOUT problem
    By Megahertz in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th June 2012, 00:00
  3. Replies: 1
    Last Post: - 28th April 2011, 18:02
  4. OLED 128x128 color display
    By Ron Marcus in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 21st May 2007, 01:45
  5. LCDout Command w/ LCD 4x40 display
    By beto in forum mel PIC BASIC Pro
    Replies: 25
    Last Post: - 21st January 2005, 01:22

Members who have read this thread : 2

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts