首页 > 编程语言 >2022-08-12-esp32把玩记-②_用Micropython点ssd1306_oled屏幕

2022-08-12-esp32把玩记-②_用Micropython点ssd1306_oled屏幕

时间:2022-10-15 06:48:17浏览次数:85  
标签:Micropython 12 08 2022 驱动 esp32 ssd1306


layout: post
cid: 8
title: esp32把玩记-② 用Micropython点ssd1306 oled屏幕
slug: 8
date: 2022/08/12 15:12:39
updated: 2022/08/12 15:12:39
status: publish
author: admin
categories:

  • 默认分类
    tags:
    postDesc:
    postFile:
    postKeywords:
    postShow: 1
    postShowImg:
    postShuoBvid:
    postShuoMP: netease
    postShuoMT: playlist
    postShuoMusic:
    postShuoPage:
    postShuoPic:
    postType: 1

直接上教程

接线

首先确保你买了杜比线然后根据这张图接线
vJ2Trd.md.png

驱动和安装mpython

然后安装编辑器和驱动
编辑器: Thonny编辑器
驱动: esp32驱动

然后到micropython官网下载驱动
*要下v1.14 (2021-02-02) .bin这个版本

打开thonny
工具>选项>编译器
选择MicroPython(ESP32)
然后选择自己的esp32

然后选择右下角的安装和更新软件
第一栏Port选自己的esp32 第二栏Firmware选刚下的驱动
记得勾上 Erase flash before installing
别的教程说要按啥按钮的其实不用~
等完成后回到主画面
打开这两个文件
范例代码
然后另存新档并选择MicroPython
这时你的esp32里应该有ssd1306.pymian.py两个文件
*esp8266同样代码但是接线不同
上传之后点击绿色的运行按钮后应该会看到
vJfLI1.md.jpg
到此为止就成功啦~~~

标签:Micropython,12,08,2022,驱动,esp32,ssd1306
From: https://www.cnblogs.com/wmbkkk/p/16793507.html

相关文章

  • 2022-08-11-emo了
    layout:postcid:7title:emo了slug:7date:2022/08/1110:14:00updated:2022/08/1110:15:40status:publishauthor:admincategories:默认分类tags:post......
  • 2022-08-08-好郁闷啊
    layout:postcid:6title:好郁闷啊slug:6date:2022/08/0815:27:05updated:2022/08/0815:27:05status:publishauthor:admincategories:默认分类tags:p......
  • 2022-08-08-esp32把玩记-①
    layout:postcid:4title:esp32把玩记-①slug:4date:2022/08/0814:59:58updated:2022/08/0814:59:58status:publishauthor:admincategories:默认分类t......
  • 2022-08-05-新站耶~
    layout:postcid:3title:新站耶~slug:3date:2022/08/0515:02:00updated:2022/09/2718:15:12status:publishauthor:admincategories:默认分类tags:po......
  • 2022-08-05-欢迎使用_Typecho
    layout:postcid:1title:欢迎使用Typechoslug:startdate:2022/08/0514:21:51updated:2022/08/0514:21:51status:publishauthor:admincategories:默认......
  • 2022-08-25-网络改造寄寄寄
    layout:postcid:18title:网络改造寄寄寄slug:18date:2022/08/2513:49:02updated:2022/08/2513:49:02status:waitingauthor:admincategories:默认分类......
  • 2022-08-25-cdn套中套
    layout:postcid:19title:cdn套中套slug:19date:2022/08/2520:32:00updated:2022/08/2611:20:20status:waitingauthor:admincategories:默认分类tags......
  • 2022-08-24-求求各位大佬别下链
    layout:postcid:17title:求求各位大佬别下链slug:17date:2022/08/2410:51:51updated:2022/08/2410:51:51status:waitingauthor:admincategories:默认......
  • 2022-08-21-xdm说个事啊
    layout:postcid:15title:xdm说个事啊slug:15date:2022/08/2113:06:34updated:2022/08/2113:06:34status:waitingauthor:admincategories:默认分类ta......
  • 2022-08-21-Freewind主题_cdn替换版
    layout:postcid:16title:Freewind主题cdn替换版slug:16date:2022/08/2114:06:00updated:2022/08/2114:07:57status:publishauthor:admincategories:......