summaryrefslogtreecommitdiffstats
path: root/clients/tde/src/part/fpgaview/part.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-10-14 13:44:56 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-10-14 13:44:56 -0500
commit7997af3f4f6d8ca680e381cb1bee4ebe3b82e175 (patch)
treef88cd6c4fa54fdf8c9d76506b9cf03cfa0142763 /clients/tde/src/part/fpgaview/part.h
parente9bed7d3af54c11f1174b73daa8d8b838448b27f (diff)
downloadulab-7997af3f4f6d8ca680e381cb1bee4ebe3b82e175.tar.gz
ulab-7997af3f4f6d8ca680e381cb1bee4ebe3b82e175.zip
Fix 7-segment LED display and add sample driver for the same
Diffstat (limited to 'clients/tde/src/part/fpgaview/part.h')
-rw-r--r--clients/tde/src/part/fpgaview/part.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/clients/tde/src/part/fpgaview/part.h b/clients/tde/src/part/fpgaview/part.h
index 26e70ec..b49ace2 100644
--- a/clients/tde/src/part/fpgaview/part.h
+++ b/clients/tde/src/part/fpgaview/part.h
@@ -105,7 +105,7 @@ class TQ_EXPORT FPGA7Segment : public TQFrame
SegmentStyle segmentStyle() const;
virtual void setSegmentStyle(SegmentStyle);
- void setLitSegments(unsigned int);
+ void setLitSegments(unsigned char);
TQSize sizeHint() const;
@@ -120,6 +120,7 @@ class TQ_EXPORT FPGA7Segment : public TQFrame
char* m_prevSegments;
char* m_currentSegments;
+ unsigned int prevSegments;
double val;
uint smallPoint : 1;
uint fill : 1;
@@ -231,10 +232,10 @@ namespace RemoteLab
unsigned int m_16bitInputValue;
unsigned int m_16bitOutputValue;
TQCString m_LCDOutputValue;
- unsigned int m_7segDigit3OutputValue;
- unsigned int m_7segDigit2OutputValue;
- unsigned int m_7segDigit1OutputValue;
- unsigned int m_7segDigit0OutputValue;
+ unsigned char m_7segDigit3OutputValue;
+ unsigned char m_7segDigit2OutputValue;
+ unsigned char m_7segDigit1OutputValue;
+ unsigned char m_7segDigit0OutputValue;
UnsignedIntegerList m_batchInputValueList;
UnsignedIntegerList m_batchOutputValueList;