Skip to content

Instantly share code, notes, and snippets.

Laszlo Gazdag lazlyhu

  • Cookpad
  • Budapest
Block or report user

Report or block lazlyhu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View direct_interupt_settings.ino
#include "avr/interrupt.h"
bool value;
#define STATUS_PIN PB4 //Led marker for show the user what happened
void setup() {
pinMode(STATUS_PIN, OUTPUT);
digitalWrite(STATUS_PIN, HIGH);
GIMSK = 0b00100000; // turns on pin change interrupts
You can’t perform that action at this time.