~toykeeper/flashlight-firmware/trunk

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/fsm-pcint.h

  • Committer: Selene Scriven
  • Date: 2020-07-06 20:24:28 UTC
  • mfrom: (188.1.294 fsm)
  • Revision ID: bzr@toykeeper.net-20200706202428-7pyen2ow9q2rtd9p
merged nearly a year of updates from the fsm branch, including the new product map

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef FSM_PCINT_H
21
21
#define FSM_PCINT_H
22
22
 
 
23
volatile uint8_t irq_pcint = 0;  // pin change interrupt happened?
23
24
//static volatile uint8_t button_was_pressed;
24
25
#define BP_SAMPLES 32
25
26
volatile uint8_t button_last_state;