Skip to content

Instantly share code, notes, and snippets.

View omgimdrunk's full-sized avatar

Omgimdrunk omgimdrunk

  • OMG I'm Drunk LLC
  • Middle of nowhere
View GitHub Profile
@omgimdrunk
omgimdrunk / max7219-basic.c
Created March 27, 2021 04:09 — forked from adnbr/max7219-basic.c
Simple AVR code for using a MAX7219 7-segment display driver
/* MAX7219 Interaction Code
* ---------------------------
* For more information see
* http://www.adnbr.co.uk/articles/max7219-and-7-segment-displays
*
* 668 bytes - ATmega168 - 16MHz
*/
// 16MHz clock
#define F_CPU 16000000UL

Keybase proof

I hereby claim:

  • I am omgimdrunk on github.
  • I am omgimdrunk (https://keybase.io/omgimdrunk) on keybase.
  • I have a public key whose fingerprint is D812 F17D F29D B85A B44B 4E60 CFC1 783E 0FFF 55F5

To claim this, I am signing this object: