joni vanderhaeghe
/
bachelorproef
bachelorproef
Embed:
(wiki syntax)
Show/hide line numbers
interrupt.h
00001 #include "mbed.h" 00002 00003 00004 class Interrupt { 00005 00006 public: 00007 bool flagUp; 00008 bool flagDown; 00009 bool flagLeft; 00010 bool flagRight; 00011 bool flagEnter; 00012 int lastnumberIP; 00013 int nextScreen; 00014 int currentScreen; 00015 00016 InterruptIn _interruptUp; 00017 InterruptIn _interruptDown; 00018 InterruptIn _interruptLeft; 00019 InterruptIn _interruptRight; 00020 InterruptIn _interruptEnter; 00021 00022 public: 00023 Interrupt (PinName pinUp, PinName pinDown, PinName pinLeft, PinName pinRight, PinName pinEnter); 00024 void up_interrupt(); 00025 void down_interrupt(); 00026 void left_interrupt(); 00027 void right_interrupt(); 00028 void enter_interrupt(); 00029 };
Generated on Thu Jul 28 2022 22:50:15 by 1.7.2