Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20591

BASCOM-AVR Old versions : Attiny2313 : REPLY

$
0
0
Switch or anything alias PORTx.x not pin, then you can make set/reste switch/ led anything, should become hi/low state on those ports. Like so. Funny thing when i wrote config port etc then it didn't work, but when DDRx = &B11111111 for LEDs and switches and then calling leds by "set/reset" and switches by "if port = x" or " if switch = x" it was perfect, dunno why. The config port seems like doesnt work, properly at least.

Viewing all articles
Browse latest Browse all 20591

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>