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: mbed DMX TextLCD mbed-rtos
main.h
00001 #ifndef MAIN_H 00002 #define MAIN_H 00003 00004 //#define _CRT_SECURE_NO_WARNINGS 00005 00006 #include "mbed.h" 00007 #include "rtos.h" 00008 #include "stdint.h" 00009 #include "string" 00010 00011 #include "DMX.h" 00012 #include "Settings.h" 00013 #include "Screen.h" 00014 00015 #define FIRMWARE "B-01-10" 00016 const string S_Menu[] {"Firmware", "Output 1", "Output 2", "Output 3"}; 00017 00018 DMX XLR1(p9, p10); 00019 DMX XLR2(p13, p14); 00020 DMX XLR3(p28, p27); 00021 00022 Settings S; 00023 Screen Sc; 00024 Ethernet eth; 00025 00026 DigitalOut Error1(LED1); 00027 DigitalOut Error2(LED2); 00028 DigitalOut Error4(LED3); 00029 DigitalOut Error8(LED4); 00030 00031 00032 InterruptIn PushButton(p8); 00033 InterruptIn LeftTwist(p7); 00034 InterruptIn RightTwist(p6); 00035 00036 Timeout EnableRotary; 00037 00038 uint32_t I32_CheckHeader(char C_Header[7]); 00039 00040 void V_InterruptMenu(); 00041 void V_Right(); 00042 void V_Left(); 00043 void V_Reset(); 00044 void V_DisplayMenu(); 00045 void V_DisableRotary(); 00046 00047 void V_WriteTxt(uint32_t I32_Kolom, uint32_t I32_Rij, char * C_Tekst); 00048 void V_GeneralTxt(uint32_t I32_Line); 00049 00050 #endif 00051 00052 00053 00054 00055
Generated on Fri Jul 15 2022 01:17:23 by
1.7.2