Skip to content
/ ask Public

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

License

Notifications You must be signed in to change notification settings

nimaltd/ask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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