phpkadir / ask

ASK Remote Receiver/Sender (EV1527,PT2262,PT2264 and ... )

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remote Receiver/Sender (EV1527,PT2262,PT2264,...) for All MCUs and platforms

This is a Library for decoding ASK RF remotes.

How to Use

Include "ask_hal.h" in your source code and implement these functions:

  • fn_init_rx: init rx pin as input and enable pin change interrupt.
  • fn_init_tx: init tx pin as output.
  • fn_pinchange_callback: pin change callback.
  • fn_micros: return startup system timer in microseconds.
  • fn_write_pin: write tx pin to 0 and 1.
  • fn_read_pin: read rx pin.
  • fn_delay_ms: delay in miliseconds.
  • fn_delay_us: delay in microseconds.

Or use one of .c files provided in Port folder if it suits your platform.

Ported Platforms

  • STM32 HAL
  • ESP32 Arduino
  • ESP8266 Arduino
  • AVR Arduino
  • PIC

About

ASK Remote Receiver/Sender (EV1527,PT2262,PT2264 and ... )

License:GNU General Public License v3.0


Languages

Language:C 93.2%Language:C++ 6.8%