1 // 2 // Copyright (c) 2010-2024 Antmicro 3 // 4 // This file is licensed under the MIT License. 5 // Full license text is available in 'licenses/MIT.txt'. 6 // 7 8 #ifndef GpioReceiver_H 9 #define GpioReceiver_H 10 11 class GPIOReceiver 12 { 13 public: 14 virtual void onGPIO(int number, bool value) = 0; 15 }; 16 17 #endif 18