auto formatting cleanups

This commit is contained in:
Kevin Matz 2020-12-04 14:57:57 -05:00
parent f599b899e5
commit b5e58743e4
3 changed files with 75 additions and 76 deletions

View File

@ -33,7 +33,7 @@ SOFTWARE.
/*
* This section to be configured by Lighting Control
This section to be configured by Lighting Control
*/
// -----------------------------------
// Configure the WiFi network
@ -66,27 +66,27 @@ const uint16_t strobe_universe = 1;
const uint16_t strobe_address = 501;
/* DMX Value
* | chan | Command | range | range |
* |------+-----------+-------+------------|
* | 1 | Intensity | 0- | 0-100% | 15 bit 2.4kHz PWM
* | 2 | fine | 65535 | |
* |------+-----------+-------+------------|
* | 3 | Duration | 0-255 | 0.02-0.5s | 0.002s resolution
* |------+-----------+-------+------------|
* | 4 | Rate | 0-255 | 0.5-25hz | 0.1 hz resolution
* |------+-----------+-------+------------|
| chan | Command | range | range |
|------+-----------+-------+------------|
| 1 | Intensity | 0- | 0-100% | 15 bit 2.4kHz PWM
| 2 | fine | 65535 | |
|------+-----------+-------+------------|
| 3 | Duration | 0-255 | 0.02-0.5s | 0.002s resolution
|------+-----------+-------+------------|
| 4 | Rate | 0-255 | 0.5-25hz | 0.1 hz resolution
|------+-----------+-------+------------|
*/
/*
* This section to be configured by the Fixtures Dept.
This section to be configured by the Fixtures Dept.
*/
const int button = A0; // A0, use 100nF to ground
const int led = LED_BUILTIN; // IO13
/*
* Change nothing else unless you're really sure.
Change nothing else unless you're really sure.
*/
//// device objects
@ -98,7 +98,7 @@ bool pressed = false; // track button state
uint32_t change_time; // time of button press (ms)
/*
* Arduino powerup
Arduino powerup
*/
void setup() {
Serial.begin(115200);
@ -133,7 +133,6 @@ void setup() {
//// start fixtures hardware:
// button
pinMode(button, INPUT_PULLUP);
// led_trigPres_trigPress _trigPress _trigPress _trigPress s
if (!strobe->begin(led, 0)) {
Serial.println("Strobe failed to configure.");
}
@ -141,7 +140,7 @@ void setup() {
/*
* Arduino process loop
Arduino process loop
*/
void loop() {
if (WiFi.status() != WL_CONNECTED) {