- 博客(110)
- 资源 (56)
- 收藏
- 关注
原创 项目四:无极调光台灯
齐护C02mini:自带10个1.25*4的防呆接口,可以有效的避免接线错误而导致模块和主板烧毁齐护双按键开关模块齐护双LED灯模块当LED灯的in脚输入高电平时,LED点亮当LED灯的in脚输入低电平时,LED点亮当LED的in脚输入一个模拟值时,LED灯的亮度和模拟值相关,模拟值为0时LED灯为最暗,模拟值为255时,LED灯为最亮齐护双按键开关模块相关块介绍齐护双LED灯模块相关块介绍齐护双LED灯模块相关的块在齐护机器人C02库下的执行器下,主要有三个块。
2023-04-19 16:37:44 1192 1
原创 项目二:电子骰子
齐护C02mini齐护双按键开关模块齐护数码管模块以上内容可参考:项目一齐护双按键开关模块相关块介绍齐护数码管模块相关块介绍以上内容可参考:项目一。
2023-04-04 08:21:29 1226
原创 项目一:挑战6秒
齐护C02mini:自带10个1.25*4的防呆接口,可以有效的避免接线错误而导致模块和主板烧毁齐护双按键开关模块按键按下的时候输出高电平按键没有按下的时候输出低电平齐护数码管模块我们可以把数码管模块看成多个LED灯的组合,比如图中的b和c这二个LED灯点亮就是数字1,其他的数字也是一样,比如要显示数字0,就是a、b、c、d、e、f这几个LED灯点亮齐护双按键开关模块相关块介绍(5分钟)齐护双按键开关模块相关的块在齐护机器人C02库下的传感器中,主要有二个块。
2023-04-01 11:53:53 337
原创 VScode使用M5stack-c plus基于arduino-环境搭建
添加库文件只需要把库文件放到文件所在位置下的lib文件夹下。使用VScode安装如果觉得麻烦的话可以直接花二十弄一个。这种方法实测在下载的时候可能会出现下载失败的情况。首先安装一个1.25版本以下的mixly。然后双击打开arduino.exe。然后工具-开发板-开发板管理器。接着等待安装完成就可以看到板卡了。先选择arduino esp32。选择好板卡就可以开始编程了。再选择好对应的板卡就可以了。接着右键打开文件所在位置。找到arduino文件夹。...
2022-08-18 09:41:42 617
原创 天问block-STC8G1K08A-WS2812
一、器材STC8G1K08AAWS2812天问51:天问Block二、接线STC8 WS2812 VCC VCC GND GND P54 IN 三、程序代码#define _STC8#define RGB_PIN P5_4//RGB灯的引脚#define RGB_NUMLEDS 8 //RGB灯的个数#define RGB_PIN_MODE {P5M1&=~0x10;P5M0|=0x10;...
2022-04-24 10:27:47 4100 4
原创 天问block-STC8G1K08A-TM1637
一、器材STC8G1K08AATM1637天问51:天问Block二、接线STC8 LED灯 VCC VCC GND GND P54 CLK P55 DIO 三、程序代码#define _STC8#define TM1637_SCL P5_4#define TM1637_SCL_OUT {P5M1&=~0x10;P5M0|=0x10;}//P5_4推挽输出#define TM163...
2022-04-24 10:04:10 2275 1
原创 天问block-STC8G1K08A-LED
一、器材STC8G1K08ALED灯天问51:天问Block二、接线STC8 LED灯 VCC VCC GND GND P54 IN 三、程序代码#define _STC8#include <STC8HX.h>uint32 sys_clk = 24000000;//设置PWM、定时器、串口、EEPROM频率参数#include "lib/twen_board.h"#include "lib/de.
2022-04-24 09:53:25 4651 4
原创 arduino/mixly 使用HT16K33 16*8点阵
一、器材HT16K33 16*8点阵arduino uno二、接线HT16K33 arduino uno vcc 5V gnd gnd SCL A5 SDA A4 三、库文件arduino 库,首先把库放到arduino的library下https://gitee.com/zhou-linjun123/Adafruit_LED_Backpack四、显示字符完整程序#include <Wire.h>..
2022-03-18 09:33:29 2041
原创 arduino/Mixly使用LGT8F328P
一、器材开发板我这里采用的是科易的LGT8F328P,价格的话是14一块,相当于nano的价格会更加便宜一点二、特点主控芯片:LGT8F328PUSB转串口芯片:HT42B534-1输入电压:DC 5V(Micro USB供电)输出电流(总):80mA普通端口驱动电流:12mA数字口(27个): RX0(D0) TX1(D1) D2-D13 A0(D14) A0(D14) A1(D15) A2(D16) A3(D17) A4(D18) A5(D19) E1(D2...
2022-03-03 13:42:19 2676 1
原创 串口屏学习:按键组件
一、参考资料串口屏(HMI)软件的简单使用_哔哩哔哩_bilibili5.控件详解:4.按钮控件 [USART HMI 资料中心]二、使用首先我们从左侧添加一个按键组件和一个数字组件按键的主要属性有以下几个第一个是sta,也就是按键的背景,可以设置为纯色背景,也可以选择为图片,然后选择合适的图片作为按键的背景第二个是txt也就是按键上的文字第三个是font,这个是按键上的字的字库,只有有字库才能有显示然后是数字控件,数字控件中最重要的就一个,数字...
2022-01-16 10:39:19 1111 1
原创 Luatos学习:Air101点灯
一、准备首先在vscode中安装LuatIDE再安装扩展包资料wiki教程文档:https://wiki.luatos.com/luatos仓库:https://gitee.com/openLuat/LuatOSair101/103仓库:https://gitee.com/openLuat/luatos-soc-air101rtt软件包仓库:https://github.com/openLuat/luatos-soc-rttluatos主页(云编译在这里):http:/...
2022-01-15 10:41:34 1697
原创 LVGL学习记录:window
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-14 09:42:52 571
原创 LVGL学习记录:Tile view
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-14 09:41:28 1049
原创 LVGL学习记录:Tabview
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-14 09:38:53 724
原创 LVGL学习记录:spinner
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-14 09:37:56 481
原创 LVGL学习记录:spinbox
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-14 09:34:20 525
原创 LVGL学习记录:SPAN
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-14 09:32:51 494
原创 LVGL学习记录:Message box
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-14 09:32:03 357
原创 LVGL学习记录:list列表
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-14 09:31:34 2520
原创 LVGL学习记录:LED
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-14 09:31:04 347
原创 LVGL学习记录:colorwheel
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-13 11:47:02 394
原创 LVGL学习记录:chart
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-13 11:46:32 785
原创 LVGL学习记录:calendar日历
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-13 11:46:00 743
原创 LVGL学习记录:Roller滚轮
代码#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-12 19:04:58 1056
原创 LVGL学习记录:Line线
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-12 18:45:13 794
原创 LVGL学习记录:Dropdown下拉列表
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-12 18:41:03 774
原创 LVGL学习记录:Checkbox复选框
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-12 18:40:30 656
原创 LVGL学习记录:Button matrix按键矩阵
#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>#def.
2022-01-12 18:37:29 1103
原创 LVGL学习记录:Arc弧
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-12 18:36:53 429
原创 LVGL学习记录:Bar 进度条
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-12 12:16:14 707
原创 LVGL学习记录:Switch
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-12 12:15:36 603
原创 LVGL学习记录:Label标签
代码#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-11 19:49:20 966 1
原创 LVGL学习记录:滑块
基础运用代码#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h
2022-01-11 13:13:34 577
原创 LVGL学习记录:按键
程序#include <lvgl.h>#include <TFT_eSPI.h>/*If you want to use the LVGL examples, make sure to install the lv_examples Arduino library and uncomment the following line.#include <lv_examples.h>*/// #include <lv_demo.h>
2022-01-10 10:51:18 4284
原创 arduino/Mixly RGB全彩点阵
一、显示图片代码#include <PxMatrix.h>#include <TetrisMatrixDraw.h>#include <ezTime.h>// ----- Wiring -------#define P_LAT 22#define P_A 19#define P_B 23#define P_C 18#define P_D 5#define P_E 15//#define P_OE 26 //TinyPICO//#define
2022-01-09 09:33:04 1070
原创 arduino/Mixly使用MAX30102心率传感器
一、器材MAX30102arduino uno二、接线MAX30102 arduino uno VCC 5V GND GND SCL A5 SDA A4 三、程序mixly程序mixly的块在第三方库睿龙创客工厂之中arduino代码#include <Wire.h>#include "MAX30105.h"#include "heartRate.h"MAX30105 particl..
2022-01-08 09:35:27 3980 10
原创 arduino/Mixly使用68段常用语模块
一、器材68段常用语模块arduino uno二、接线68段语音模块 arduino uno VCC 5V GND GND IN D2 三、程序mixly程序arduino程序void send_data(int addr){ int i; digitalWrite(2 , LOW); delay(3); //>2ms for(i=0; i<8; i++){ digital...
2022-01-07 11:05:55 836
原创 arduino/Mixly心知天气
一、准备首先百度一下心知天气,获取一下密钥,具体的可以看这一篇Blynk中WebHook组件的使用方法_moshanghuaw的博客-CSDN博客然后再准备一个esp8266或者esp32都可以二、程序mixly程序arduino程序#include <ESP8266WiFi.h>#include <ESP8266_Seniverse.h>WeatherNow weatherNow;Forecast forecast;LifeInfo l..
2022-01-06 13:21:56 8183 10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人