Skip to content

Instantly share code, notes, and snippets.

View SeeJayDee's full-sized avatar

Christian D'Abrera SeeJayDee

View GitHub Profile
package main
import (
"log"
"github.com/chbmuc/lirc"
)
func main() {
// Initialize with path to lirc socket
@SeeJayDee
SeeJayDee / tiny_IRremote.cpp
Last active June 24, 2024 03:36
tiny_IRremote - Arduino IRremote ported to the ATtiny
/*
* tiny_IRremote
* Version 0.2 July, 2016
* Christian D'Abrera
* Fixed what was originally rather broken code from http://www.gammon.com.au/Arduino/
* ...itself based on work by Ken Shirriff.
*
* This code was tested for both sending and receiving IR on an ATtiny85 DIP-8 chip.
* IMPORTANT: IRsend only works from PB4 ("pin 4" according to Arduino). You will need to
* determine which physical pin this corresponds to for your chip, and connect your transmitter