I don't want to use the DP on a COMMON CATHODE LED.
I want to use thr RB0 for interupting, so I "shifted" the connections of the LED on the port B one pin "up".
The DP HAS på be connected, so I connect it to the g-segmen RB7, but ...
the segment the DP is connected to will NOT light up if I choose to NOT show the DP and
ALLWAYS light up if I choose to light uo the DP !
The error is there with both common anode and cathode.
What is wrong ?
Don't wanna use DP ???
Moderator: Benj
Don't wanna use DP ???
- Attachments
-
- DP på et ciffer.fcf
- (4.5 KiB) Downloaded 235 times
Best regards
KSor, Denmark
KSor, Denmark
- Steve
- Matrix Staff
- Posts: 3422
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Re: Don't wanna use DP ???
If you keep the DP pin connected to something but customise the C code for this component to prevent this from being used/displayed, then the code will work on the microcontroller (but the simulation will be slightly worng).
Re: Don't wanna use DP ???
In fact there IS a posibility to choose the "Not connected" for the DP !
In this situation the simulation will work fine - but I then have problems with the HW.
Two Q comes up I think, why:
1) this posibility - if it must NOT be used ?
2) the differens in simulation and HW-implementation ?
It seems like a simple error to correct !
In this situation the simulation will work fine - but I then have problems with the HW.
Two Q comes up I think, why:
1) this posibility - if it must NOT be used ?
2) the differens in simulation and HW-implementation ?
It seems like a simple error to correct !
Best regards
KSor, Denmark
KSor, Denmark
- Steve
- Matrix Staff
- Posts: 3422
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Re: Don't wanna use DP ???
What are the problems with the hardware? A program seems to compile ok when the decimal point is left unconnected.