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.
Fork of Smoothie by
PlayLed.h
00001 #ifndef _PLAYLED_H 00002 #define _PLAYLED_H 00003 00004 #include "libs/Kernel.h" 00005 #include "libs/Pin.h" 00006 00007 #define pause_led_pin_checksum CHECKSUM("pause_led_pin") 00008 #define play_led_pin_checksum CHECKSUM("play_led_pin") 00009 00010 class PlayLed : public Module { 00011 public: 00012 PlayLed(); 00013 00014 void on_module_loaded(void); 00015 00016 void on_config_reload(void*); 00017 00018 void on_play( void*); 00019 void on_block_begin( void*); 00020 void on_block_end( void*); 00021 00022 uint32_t half_second_tick(uint32_t); 00023 00024 Pin led; 00025 }; 00026 00027 #endif /* _PLAYLED_H */
Generated on Tue Jul 12 2022 20:09:02 by
1.7.2
