Page 1 of 1

Could you confirm the display result of spi_master on esp-wrover-kit's LCD

Posted: Wed Mar 07, 2018 12:04 pm
by huaxiaozhong1
Greeting! I have just received an esp-wrover-kit dev board and run the example "spi_master" (
https://github.com/espressif/esp-idf/tr ... spi_master). LCD displays the graphic as attached. I noticed a comment at esp-idf/examples/peripherals/spi_master/main/spi_master_example_main.c, which says:" This code displays some fancy graphics on the 320x240 LCD on an ESP-WROVER_KIT board."

So, I would ask for your confirmation on whether the display result is correct or not.

Thanks!

Re: Could you confirm the display result of spi_master on esp-wrover-kit's LCD

Posted: Thu Mar 08, 2018 7:01 am
by ESP_Sprite
From what I remember when writing that example a long time ago, that looks correct.

Re: Could you confirm the display result of spi_master on esp-wrover-kit's LCD

Posted: Thu Mar 08, 2018 7:16 am
by huaxiaozhong1
Thanks for rapid feedback. But the comment in pi_master_example_main.c says: there are "some fancy graphics". But what we can see is only one graphic...

Re: Could you confirm the display result of spi_master on esp-wrover-kit's LCD

Posted: Thu Mar 08, 2018 8:29 am
by ESP_krzychb
I was also looking for "some fancy graphics" when loaded this example :D

But then checking the code I found qualification "Simple routine to generate some patterns and send them to the LCD. Don't expect anything too impressive.".

The example displays a single graphics by calling display_pretty_colors(spi_device_handle_t spi) to show a pattern with varying pixels.

Re: Could you confirm the display result of spi_master on esp-wrover-kit's LCD

Posted: Thu Mar 08, 2018 11:37 am
by huaxiaozhong1
Your answer has clarified my question quite well. Please close the case now :) Thanks!

Re: Could you confirm the display result of spi_master on esp-wrover-kit's LCD

Posted: Fri Mar 09, 2018 2:38 am
by ESP_Sprite
Hmm, perhaps I should either up-fancy the graphics or down-fancy the description.

Re: Could you confirm the display result of spi_master on esp-wrover-kit's LCD

Posted: Fri Mar 09, 2018 7:49 am
by Vader_Mester
ESP_Sprite wrote:Hmm, perhaps I should either up-fancy the graphics or down-fancy the description.
This comment made my day :D

By the way on a challange vs result graph, the description change is the least challanging with least result. The up-fancy part is the most challanging but most fun, with better results.