why my output pin starts high??

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
hazic
Posts: 24
Joined: Tue Jan 05, 2010 8:59 am
Been thanked: 1 time

why my output pin starts high??

Post by hazic »

I'm working with AVR (atmega16) and using the LED's component (the pins not really connected to LED's but serves as output for something else)
The problem s that the component is set for all port A and when the chip starts one of the pins (PA4) always start in high state, all other pins are low.
If I add in the begining of the code LED 4 off and start the chip again then on startup the pin will start high for some msec and then go low.
I also tried to erase the chip and it still the same.
I Know it's not a problem with flowcode but maybe someone can help

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: why my output pin starts high??

Post by Benj »

Hello,

I've had a quick look through the datasheet and the C code that is generated by Flowcode and cannot find a reason for this to be happening.

Sorry not very helpful I know.

Post Reply