![]() |
Forum Index : Microcontroller and PC projects : How to use OPTION LCDPANEL ?
Author | Message | ||||
kiiid Guru ![]() Joined: 11/05/2013 Location: United KingdomPosts: 671 |
> 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? http://rittle.org -------------- |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
What chip and what version of MMBasic are you using? Jim VK7JH MMedit |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
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 |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |