I'm trying to make a WiFi DMX webserver/transmitter.
I have following code working on my TM4C123GXL.
/*
*/
// most launchpads have a red LED
#define LED RED_LED
#include "inc/hw_uart.h"
#include <stdint.h>
#include "driverlib\uart.h"
//see pins_energia.h for more LED definitions
#define DMX_MAX 128 // max. number of DMX data packages.
const int buttonPin = PUSH2;
int buttonState; // the current reading from the input pin
int lastButtonState = LOW; // the previous reading from the input pin
const int ledPin = GREEN_LED;
uint8_t DMXBuffer[DMX_MAX];
// the set