Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gamefunc/micropython_espX_IR_Transceiver
micropython esp32 IR Transceiver
https://github.com/gamefunc/micropython_espX_IR_Transceiver
esp32 ir micropython python
Last synced: 2 months ago
JSON representation
micropython esp32 IR Transceiver
- Host: GitHub
- URL: https://github.com/gamefunc/micropython_espX_IR_Transceiver
- Owner: gamefunc
- Created: 2019-04-26T05:04:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-05-08T23:49:58.000Z (over 2 years ago)
- Last Synced: 2024-08-05T00:06:50.993Z (6 months ago)
- Topics: esp32, ir, micropython, python
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 8
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-micropython - micropython_espX_IR_Transceiver - MicroPython ESP32 IR Transceiver. (Libraries / Communications)
README
# micropython_espX_IR_Transceiver
micropython esp32 IR Transceivermicropython 基础入门 课件: https://edu.csdn.net/course/detail/25660
# how to use:
# logIRCMD(time list) -> auto save to /buttomCMD.txt, i am use VS/HX1838B:
from irGetCMD import *
a = irGetCMD(25) # 25 is GPIO PIN number# get log code line -> json.loads -> get the listObject .
from irSelectCMD import *
irCMDList = irSelectCMD(0)# pwmObject
import machine
irLed = machine.Pin(16, machine.Pin.OUT) # 16 is GPIO PIN number
irLedPwmObject = machine.PWM(irLed, freq=38000, duty=0)# ir send
irSendCMD(irLedPwmObject, irCMDList, duty=360)