This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Queue | |
import threading | |
import time | |
import re | |
import logging | |
from serial import Serial | |
# Enable the testSerialWrapper to test the data communication stability with an introduced error rate. | |
if False: | |
from test.serialWrapper import TestSerial as Serial |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[hardware] | |
#device = DMX512SerialDevice | |
#device = EnttecDMXProDevice | |
#device = VirtualOutputDevice | |
#port = COM1 | |
#[hardware] | |
## Virtual output device, for debugging. Will show up as white squares on the screen. | |
#device = VirtualOutputDevice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Name: The black Wall | |
-- Description: Fight the Ghosts behind the wall | |
-- Author: Dyrian | |
require("utils.lua") | |
function init() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
set -u | |
### Parameters for the installation. | |
TARGET_NFS_DIR=/srv/nfsroot/ | |
TARGET_TFTP_DIR=/srv/tftp/ | |
MIRROR=http://ftp.debian.org/debian/ | |
ETH=eth0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "DMXSerial.h" | |
/* | |
Simple example of using the DMSSerial library in combination with EE's hardware configuration to provide 4 relay outputs that can be used to show game states. | |
This is using the Arduino relay board from: https://www.seeedstudio.com/item_detail.html?p_id=2440 | |
*/ | |
void setup() | |
{ | |
DMXSerial.init(DMXReceiver); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "equeue/equeue.h" | |
#include <assert.h> | |
#include <stdio.h> | |
static unsigned int tick_counter; | |
void test_func(void* data) | |
{ | |
printf("test_func: %p\n", data); | |
} |