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

BASCOM-AVR : Atmega1280 pins does not output : REPLY

$
0
0
Thanks Evert! The Port did the trick. I totally forgot about the difference!! Dout1 Alias portb.4 : Ddrb.4 = 1 Dout2 Alias porth.6 : Ddrh.6 = 1 Dout3 Alias porth.5 : Ddrh.5 = 1 Dout4 Alias porth.4 : Ddrh.4 = 1 Dout5 Alias porth.3 : Ddrh.3 = 1 Dout6 Alias portg.5 : Ddrg.5 = 1 Dout7 Alias portc.5 : Ddrc.5 = 1 Dout8 Alias portc.7 : Ddrc.7 = 1 Dout9 Alias porta.6 : Ddra.6 = 1 Dout10 Alias porta.4 : Ddra.4 = 1 Dout11 Alias porta.2 : Ddra.2 = 1 Dout12 Alias porta.0 : Ddra.0 = 1 All pins now toggle fine! Thanks for all help! I had to figure out that last piece to complete my project: [url]http://motionsim.blogspot.com/p/projects.html[/url] I really want to thank Bascom for their great product, allowing the creation of really functional controllers. I build a 6DOF platform controller entirely in bascom! [url]http://www.youtube.com/watch?v=v3YX8NY3iUk[/url] Here is what this controller is used for: [url]http://www.youtube.com/watch?v=nN0JvjgDugY[/url] Best Regards Thanos[/url]

Viewing all articles
Browse latest Browse all 20574

Trending Articles



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