/* file: conf.h project: oLogic description: misc defines written by : Michael Bradley Changelog: 09/16/08 This file created */ #define TRACE_MAX 8 #define TRACE_MIN 4 #define TRACE_SPACING 26 // not using full res of dac, some slewing at top #define TRACE_HEIGHT 10 #define TRACE_FLOOR 0 #define TRACE_BEGIN 8 #define TRACE_WIDTH_A 2 #define TRACE_WIDTH_B 10 //define TRACE_SPACING 256 / MAX_TRACES //#define TRACE_HEIGHT TRACE_SPACING / 2 // needed for alt mode #define SYNC_IN PIN_A4 // used to send out a sync when ladder output starts #define SYNC_OUT PIN_A5 #define SEL_TRACE PIN_A1 #define SEL_MODE PIN_A2 #define SEL_TRACEWIDTH PIN_A3 int8 showTraces; // number of traces to show int8 portData; // input from pin int8 bitTest; int8 traceData; int8 tracePos; // the Y postion of the trace int8 ndxTrace; int8 altCurTrace; int8 syncInState; int8 traceWidth;