Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - alexandra

Pages: [1]
1
Graphic LCDs / NHD-C12864LZ-FSW-FBW-3V3
« on: January 12, 2015, 09:33:53 AM »
Hello, I use a LCD NHD-C12864LZ-FSW-FBW-3V3 ( ST7565R-G controller).
I use the SPI transmission, with the STM32VLDISCOVERY board (STM32F100RB).
When I do initialization appear few pixels ON after "DISPLAY ON = 0xAF" command.
I use this function for clear the screen.
""void glcd_blank(void)
 {
     uint8_t p, c;
         for(p = 0; p < 8; p++)
         {
             lcd_cmd_out(CMD_SET_PAGE | p);
             for(c = 0; c < 129; c++)
             {
                 lcd_cmd_out(CMD_SET_COLUMN_LOWER | (c & 0xf));
                 lcd_cmd_out(CMD_SET_COLUMN_UPPER | ((c >> 4) & 0xf));
                 lcd_data_out(0x0);
             }
         }
}"
and it works but ... not it works other function "lcd_cmd_out(CMD_SET_ALLPTS_ON); // 0xA5" the screen is clear, it nothing happens.
Can you help me ? 

Pages: [1]