Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027_Support SWO mbed-rtos mbed picojson
Fork of lpc4088_ebb_ublox_Cellular_PubNubDemo_rtos by
DeviceFeedback.h
00001 #pragma once 00002 00003 #include <stddef.h> 00004 #include "mbed.h" 00005 #include "rtos.h" 00006 00007 /** 00008 * Device Feedback handler 00009 */ 00010 class DeviceFeedback 00011 { 00012 public: 00013 DeviceFeedback(PwmOut led); 00014 00015 void showSuccess(); 00016 void showFailure(); 00017 00018 protected: 00019 void sendMessage(uint8_t); 00020 void thread(); 00021 static void thread_func(void const*); 00022 00023 private: 00024 PwmOut _led; 00025 Thread _thread; 00026 Mail<uint8_t, 16> _mail; 00027 };
Generated on Sun Jul 17 2022 02:39:36 by
1.7.2
