legionella detector

Dependencies:   mbed

Revision:
5:2d1d347847a6
Parent:
4:b82f09e597ec
Child:
6:4e8b0d2bbe85
diff -r b82f09e597ec -r 2d1d347847a6 main.cpp
--- a/main.cpp	Tue Aug 23 16:54:43 2022 +0000
+++ b/main.cpp	Tue Aug 23 18:12:01 2022 +0000
@@ -26,6 +26,8 @@
 InterruptIn button_y(PTC12);
 InterruptIn button_left(PTB18);
 InterruptIn button_right(PTB3);
+InterruptIn sw2(SW2);
+InterruptIn sw3(SW3);
 
 //Defining the PCB Led's as PWM Outputs 
 PwmOut led_red1(PTA1);
@@ -34,6 +36,9 @@
 PwmOut led_green1(PTC3);
 PwmOut led_green2(PTC4);
 PwmOut led_green3(PTD3);
+DigitalOut boardled_red(LED_RED);
+DigitalOut boardled_green(LED_GREEN);
+DigitalOut boardled_blue(LED_BLUE);
 
 // Defining the Joystick, LCD & TMP102 on their respective pins
 Joystick Joystick(PTB10,PTB11,PTB16);