Hi,
I use the HEX file, counter3.hex for common anode display to be exact.
When I short the input count to 0V, the display shows U all the time. If the input count is floating, the display may switch between 16.11 (MHz) and U randomly.
I use your method to test and this time, all segments of all digits are lit properly, suggesting that the wiring is correct. If the U should have been a 0, segment A would not be connected properly. But that's not the case. Segment "A" is shown properly for other digits (2,6,8....). This makes me confident that the wiring is fine. Still not sure why a "U" would be displayed in between the digits, and why the counter is not counting properly...
hi,
The way I read the notes with the asm file version #2 hardware requires the hex2.file.?? have you tried hex2.??
I will relook.
To make my job a little easier can you post which pins on the PIC are connected to segments 'a thru g' and the anode driver pins
EDIT:
You said you had removed the 5th digit hardware.
Look at this clip from the asm file
[CODE; Selection of LED display control bits... since 2005, three different variants.
; Select ONE OF THESE in MPLAB under "Project".."Build Options".."Macro Definitions"!
; DISP_VARIANT=1 : first prototype, PIC on left side of display
; DISP_VARIANT=2 : second prototype, separated PIC and display board
; DISP_VARIANT=3 : similar as (2), but for COMMON CATHODE display
; Unfortunately it seems impossible to assign a NUMERIC VALUE to a macro
; in MPLAB (not in MPASM!) ....
#ifdef DISPLAY_VARIANT_1
#define DISP_VARIANT 1 ; very first (old) prototype by DL4YHF
#define COMMON_ANODE 0
#define COMMON_CATHODE 1
#else
#ifdef DISPLAY_VARIANT_2
#define DISP_VARIANT 2 ; 5 digits, new layout, COMMON CATHODE
#define COMMON_ANODE 0
#define COMMON_CATHODE 1
#else
#ifdef DISPLAY_VARIANT_3 ; added 2005-03-21 :
#define DISP_VARIANT 3 ; similar as (2), but for COMMON ANODE display
#define COMMON_ANODE 1
#define COMMON_CATHODE 0
#else
#define DISP_VARIANT 4
#define COMMON_ANODE 0
#define COMMON_CATHODE 1
"Error, Must define DISPLAY_VARIANT_1, .._2, or .._3 under project options"
; With MPLAB: Project..Build Options..Project..MPASM..Macro Definitions..Add
#endif
#endif
#endif
][/CODE]