
Artnet to DMX
Dependencies: mbed DMX TextLCD mbed-rtos
Art-NET to DMX converter.
Read Art-NET and process the data so it can be send by 3 XLR3 outputs for DMX. With a 4x20 display you can choose some options. For example what universe you would like on what output.
This is a project we make as our final project of our 2nd year of university. We study Electronics-ICT / Embedded ICT.
We chose for this amazing platform (MBED LPC1768) because it has al the interfaces and pins we need.
main.h
- Committer:
- Ayrton_L
- Date:
- 2016-05-10
- Revision:
- 33:e0c7a6eeeedc
- Parent:
- 30:51a4370a88bf
- Child:
- 34:fc85eeb84a93
File content as of revision 33:e0c7a6eeeedc:
#ifndef MAIN_H #define MAIN_H #define _CRT_SECURE_NO_WARNINGS #include "mbed.h" #include "rtos.h" #include "stdint.h" #include "string" #include "DMX.h" #include "Settings.h" #include "Screen.h" #define FIRMWARE "B-01-10" const string S_Menu[] {"Firmware", "Output 1", "Output 2", "Output 3", "IP", "Netmask", "Save"}; DMX XLR1(p9); DMX XLR2(p13); DMX XLR3(p28); Settings S; Screen Sc; Ethernet eth; DigitalOut Error1(LED1); DigitalOut Error2(LED2); DigitalOut Error4(LED3); DigitalOut Error8(LED4); InterruptIn PushButton(p5); InterruptIn LeftTwist(p6); InterruptIn RightTwist(p7); uint32_t I32_CheckHeader(char C_Header[7]); void V_InterruptMenu(); void V_Right(); void V_Left(); void V_Reset(); void V_DisplayMenu(); void V_WriteTxt(uint32_t I32_Kolom, uint32_t I32_Rij, char * C_Tekst); uint32_t I32_GeneralTxt(); #endif