0% found this document useful (0 votes)
22 views2 pages

7segaby2: Serial Other Both

This document provides a program description for a processor that displays running averages. It runs on a 68HC05C8 processor and 402B display. It behaves similarly to other programs that display 7-segment numbers, except it calculates and displays running averages. As scale messages are received with weights, it adds them to a total and displays the average. Decimal points float and an option ignores digits after the first to the right of the decimal point. Pressing a contact resets the total and average to zero.

Uploaded by

dhlav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views2 pages

7segaby2: Serial Other Both

This document provides a program description for a processor that displays running averages. It runs on a 68HC05C8 processor and 402B display. It behaves similarly to other programs that display 7-segment numbers, except it calculates and displays running averages. As scale messages are received with weights, it adds them to a total and displays the average. Decimal points float and an option ignores digits after the first to the right of the decimal point. Pressing a contact resets the total and average to zero.

Uploaded by

dhlav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PROGRAM DESCRIPTION SHEET

02/17/14

SERIAL
Processor:
Target Display:

7SEGABY2

OTHER

BOTH

68HC05C8
402B

Path: N:\05C\7SEGABY2
Source Loc: N:\05C\7SEGABY2
Compiled w/: COSMIC
Language: C
Based on: 7SEGABBY
Description: Based off of 7segabby and 7seg0130 - refer to those for dip switch settings.
Behaves just like 7segabby, except that upon receipt of each scale message, it add to the total and
shows the average. So sending the following would show the numbers:
Send 50, shows 50
Send 52, shows 51
Send 52, shows 51.3
Send 48, shows 50.5

Decimal points are floating. So 1.25 then 1.3 would show 2.55. Then sending .45 would show 3 with
no dp.
The extra option to ignore after the first digit to the right of the dp is also implemented. 1.25 will
show 1.2 then 1.45 will show 2.6.
A contact to PA4 resets the total and sign to 0

Control Bd:
Baud Rate In:

1700-402
VARIES

Baud Rate Out:


Input Protocol:
Output Protocol:
Other inputs:
Other outputs:
Dip Switches:
Date In:

02/04/14

Comment:
Logic:
Released:
Who?:

/ /

02/04/14

COM

Initial release

You might also like