mirror of
https://github.com/m5stack/M5Cloud.git
synced 2026-05-20 10:07:21 -07:00
v0.3.5:
Updated latest LoBo version
esp-idf sdspi_host driver refactored
Using SDCard in SPI mode and display at the same time now works
I2C module refactored
SLAVE mode added
Low level I2C functions added
esp-idf i2c driver modified
SPI module updated
UART module updated
machine module: added method for reading internal ESP32 temperature sensor
Added MPU9250 frozen module
This commit is contained in:
+47
@@ -0,0 +1,47 @@
|
||||
# Windows image file caches
|
||||
Thumbs.db
|
||||
ehthumbs.db
|
||||
|
||||
# Folder config file
|
||||
Desktop.ini
|
||||
|
||||
# Recycle Bin used on file shares
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# Windows Installer files
|
||||
*.cab
|
||||
*.msi
|
||||
*.msm
|
||||
*.msp
|
||||
|
||||
# Windows shortcuts
|
||||
*.lnk
|
||||
|
||||
# =========================
|
||||
# Operating System Files
|
||||
# =========================
|
||||
|
||||
# OSX
|
||||
# =========================
|
||||
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
|
||||
# Thumbnails
|
||||
._*
|
||||
|
||||
# Files that might appear in the root of a volume
|
||||
.DocumentRevisions-V100
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
.VolumeIcon.icns
|
||||
|
||||
# Directories potentially created on remote AFP share
|
||||
.AppleDB
|
||||
.AppleDesktop
|
||||
Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
@@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017 M5Stack
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -462,7 +462,8 @@ adc.read()
|
||||
```python
|
||||
from machine import I2C
|
||||
|
||||
i2c = I2C(freq=400000) # create I2C peripheral at frequency of 400kHz
|
||||
i2c = I2C(freq=400000, sda=21, scl=22)
|
||||
# create I2C peripheral at frequency of 400kHz
|
||||
# depending on the port, extra parameters may be required
|
||||
# to select the peripheral and/or pins to use
|
||||
|
||||
|
||||
+13
-1
@@ -406,7 +406,7 @@ adc.read()
|
||||
```python
|
||||
from machine import I2C
|
||||
|
||||
i2c = I2C(freq=400000) # create I2C peripheral at frequency of 400kHz
|
||||
i2c = I2C(freq=400000, sda=21, scl=22) # create I2C peripheral at frequency of 400kHz
|
||||
# depending on the port, extra parameters may be required
|
||||
# to select the peripheral and/or pins to use
|
||||
|
||||
@@ -447,3 +447,15 @@ uart2.write('abc') # write the 3 characters
|
||||
更详细文档:
|
||||
https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/wiki
|
||||
|
||||
|
||||
## 更新日志
|
||||
|
||||
- v0.3.5
|
||||
+ 更新至最新 Loboris 的版本
|
||||
+ 修复 SDCard SPI 与 屏幕 SPI冲突问题
|
||||
+ I2C 模块代码重构,支持 SLAVE mode
|
||||
+ machine 支持获取 ESP32 内部温度传感器
|
||||
+ 添加 MPU9250 frozen module
|
||||
+ 重写按键驱动,支持多种按键事件的回调
|
||||
+ 将 beep 改为 speaker,tone 为非阻塞模式
|
||||
+ 优化 Web IDE 文件同步协议,使更加稳定
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user