Don't wanna use DP ???

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
ksor
Posts: 126
Joined: Mon Oct 23, 2006 3:50 pm
Contact:

Don't wanna use DP ???

Post by ksor »

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 ?
Attachments
DP på et ciffer.fcf
(4.5 KiB) Downloaded 235 times
Best regards
KSor, Denmark

User avatar
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 ???

Post by Steve »

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).

ksor
Posts: 126
Joined: Mon Oct 23, 2006 3:50 pm
Contact:

Re: Don't wanna use DP ???

Post by ksor »

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 !

:shock: :shock: :shock:
Best regards
KSor, Denmark

User avatar
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 ???

Post by Steve »

What are the problems with the hardware? A program seems to compile ok when the decimal point is left unconnected.

Post Reply