行空板K10之滇红茶的制作
演示视频https://www.bilibili.com/video/BV1MpKwetE6m/?share_source=copy_web&vd_source=239a9974d29eab32c24c66f059859ae4项目背景云南红茶简称滇红,属红茶类。由汉族茶农创制于民国年间。产于云南省南部与西南部的临沧、保山、凤庆、西双版纳、德宏等地。以大叶种红碎茶拼配形成,定型产品有叶茶、碎茶、片茶、末茶4类11个花色。其外形各有特定规格,身骨重实,色泽调匀,冲泡后汤色红鲜明亮,金圈突出,香气鲜爽,滋味浓强,富有刺激性,叶底红匀鲜亮,加牛奶仍有较强茶味,呈棕色、粉红或姜黄鲜亮,以浓、强、鲜为其特色。制作采用优良的云南大叶种茶树鲜叶,先经萎凋、揉捻或揉切、发酵、烘烤等工序制成成品茶。任务目标在行空板K10上显示文字和图片,利用行空板A键的切换。知识目标1、 掌握在行空板K10上显示文字的方法2、 掌握在行空板K10上显示图片的方法3、 掌握行空板K10行空板A、B键的使用。材料清单行空板K10x1USB3.0转Type-C数据线x1软件使用:Mind+编程软件项目实现图形代码Python代码/*! *MindPlus *esp32s3bit * */#include "unihiker_k10.h"#include "arduino_image_cache.h"// 创建对象UNIHIKER_K10 k10;uint8_t screen_dir=2; // 主程序开始void setup() { k10.begin(); k10.initScreen(screen_dir); k10.creatCanvas();}void loop() { k10.canvas->canvasText("滇红茶的制作",0, 0, 0x000000, k10.canvas->eCNAndENFont24, 50, true); k10.canvas->canvasDrawBitmap(0,30,240,300,image_data1); k10.canvas->updateCanvas(); while(!(k10.buttonA->isPressed())) {} k10.canvas->canvasText("采摘:在滇红茶产区,一般从3月底至11月底为采茶期,人工采摘最好,一般为一芽一叶或一芽两叶的鲜嫩芽叶。", 0, 0, 0x0000FF, k10.canvas->eCNAndENFont16, 22, true); k10.canvas->canvasDrawBitmap(0,50,240,300,image_data2); k10.canvas->updateCanvas(); while(!(k10.buttonA->isPressed())) {} k10.canvas->canvasText("萎凋:将采摘下来的鲜叶放在通风透气的场地或设备中,使茶叶适量失去水分,变软伏曲,使茶叶逐步释放出特殊香气。", 0, 0, 0x0000FF, k10.canvas->eCNAndENFont16, 22, true); k10.canvas->canvasDrawBitmap(0,50,240,300,image_data3); k10.canvas->updateCanvas(); while(!(k10.buttonA->isPressed())) {} k10.canvas->canvasText("揉捻:萎凋后的茶叶送到揉捻工序,利用揉捻机械作用,使茶叶形成细长条,释放出更多芳香物质。", 0, 0, 0x0000FF, k10.canvas->eCNAndENFont16, 22, true); k10.canvas->canvasDrawBitmap(0,50,240,300,image_data4); k10.canvas->updateCanvas(); while(!(k10.buttonA->isPressed())) {} k10.canvas->canvasText("发酵:揉捻完成后,将茶叶堆放在通风透气的场地中进行发酵,掌握好时间和温度,让茶叶进行微生物发酵,产生独特的香气和口感。", 0, 0, 0x0000FF, k10.canvas->eCNAndENFont16, 22, true); k10.canvas->canvasDrawBitmap(0,50,240,300,image_data5); k10.canvas->updateCanvas(); while(!(k10.buttonA->isPressed())) {} k10.canvas->canvasText("烘干:将发酵后的茶叶送到烘干室中进行烘干,控制好温度和湿度,使茶叶干燥、色泽黄褐、香气浓郁。", 0, 0, 0x0000FF, k10.canvas->eCNAndENFont16, 22, true); k10.canvas->canvasDrawBitmap(0,50,240,300,image_data6); k10.canvas->updateCanvas(); delay(10000);}小结:学生通过学习掌握在行空板K10上显示文字的方法调节字体的大小、位置等,掌握在行空板K10上显示图片的大小、位置等方法,掌握行空板K10行空板A、B键的使用切换图片和文字的内容,课后可以进步学习其他控制切换的方法。
页:
[1]