Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:53 02 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : How to use OPTION LCDPANEL ?

Author Message
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 11:57am 14 Dec 2015
Copy link to clipboard 
Print this post

> option lcdpanel SSD1963_7, Landscape, 28, 27
Error: Incorrect argument count

> option list
OPTION LCDPANEL SSD1963_7, ST7735

Apparently a bug there as ST7735 is not SSD1963.
Is this the correct format of the command according to page 41 in the Advanced Features PDF?

The D/C pin is 28, RESET is 27, and CS is permanently grounded in my board.

What is the correct format of this command?
Edited by kiiid 2015-12-15
http://rittle.org

--------------
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 12:40pm 14 Dec 2015
Copy link to clipboard 
Print this post

  Quote  Beta 36
=======
- To setup an SSD1963 panel the command now is:
OPTION LCDPANEL SSD1963_x, orientation [, backlight-pin]
ie, the default font option has been removed.


What chip and what version of MMBasic are you using?

Jim
VK7JH
MMedit
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3292
Posted: 08:16pm 14 Dec 2015
Copy link to clipboard 
Print this post

I assume that you are using beta 37 on a 64-pin MX470 with a a SSD1863.

It sounds as if you are using some old documentation for the MM+. The correct command is:
OPTION LCDPANEL controller, orientation [,LCD-A pin]

'controller' can be either:
• SSD1963_4 For a 4.3 inch display
• SSD1963_5 For a 5 inch display
• SSD1963_5A For an alternative version of the 5 inch display if SSD1963_5 does not work
• SSD1963_7 For a 7 inch display
• SSD1963_7A For an alternative version of the 7 inch display if SSD1963_7 does not work.

'orientation' can be LANDSCAPE, PORTRAIT, RLANDSCAPE or RPORTRAIT (or L, P, RL or RP). 'LCD-A pin' can also be any I/O pin but is optional. This can be used to control the brightness of the backlight if the internal SSD1963 controller is not used.

The default font has been moved to the console configuration command:
OPTION LCDPANEL CONSOLE [font [, fc [, bc [, blight]]]

'font' is the default font, 'fc' is the default foreground colour, 'bc' is the default background colour and 'blight' is the default backlight brightness (2 to 100). These are all optional and default to font 2, white, black and 100%.

Geoff

Geoff Graham - http://geoffg.net
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025