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
why my output pin starts high??
- 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??
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel