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

huaxiaozhong1
Posts: 16
Joined: Sun Feb 25, 2018 12:12 pm

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

Postby huaxiaozhong1 » Wed Mar 07, 2018 12:04 pm

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!
Attachments
webwxgetmsgimg.jpeg
webwxgetmsgimg.jpeg (3.67 MiB) Viewed 10025 times

ESP_Sprite
Posts: 9739
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Thu Mar 08, 2018 7:01 am

From what I remember when writing that example a long time ago, that looks correct.

huaxiaozhong1
Posts: 16
Joined: Sun Feb 25, 2018 12:12 pm

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

Postby huaxiaozhong1 » Thu Mar 08, 2018 7:16 am

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...

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

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

Postby ESP_krzychb » Thu Mar 08, 2018 8:29 am

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.

huaxiaozhong1
Posts: 16
Joined: Sun Feb 25, 2018 12:12 pm

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

Postby huaxiaozhong1 » Thu Mar 08, 2018 11:37 am

Your answer has clarified my question quite well. Please close the case now :) Thanks!

ESP_Sprite
Posts: 9739
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Fri Mar 09, 2018 2:38 am

Hmm, perhaps I should either up-fancy the graphics or down-fancy the description.

User avatar
Vader_Mester
Posts: 300
Joined: Tue Dec 05, 2017 8:28 pm
Location: Hungary
Contact:

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

Postby Vader_Mester » Fri Mar 09, 2018 7:49 am

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.

Code: Select all

task_t coffeeTask()
{
	while(atWork){
		if(!xStreamBufferIsEmpty(mug)){
			coffeeDrink(mug);
		} else {
			xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
			xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
		}
	}
	vTaskDelete(NULL);
}

Who is online

Users browsing this forum: No registered users and 8 guests