KR1 1 Posted December 17, 2015 Share Posted December 17, 2015 Hello everybody. This is my first post. I am using Energia to control a Stellaris Launchpad. Quite nice so far...(although I miss the debug capabilities) Anyway, so far so good but I noticed that when you set on or off a digital pin you have to use digitalWrite and that works for one pin only. What happens if I want to write an entire port , something like portA=0x80; Is this possible in Energia?? Thanks a lot Quote Link to post Share on other sites
Fmilburn 445 Posted December 17, 2015 Share Posted December 17, 2015 Hello @@KR1 and welcome to 43oh. Please see this thread: http://forum.43oh.com/topic/5390-energia-port-manipulation-or-equivalent/ KR1 1 Quote Link to post Share on other sites
KR1 1 Posted December 18, 2015 Author Share Posted December 18, 2015 Thank you . After searching I found http://forum.43oh.com/topic/7136-solved-writing-and-reading-the-values-of-an-8-bit-port-with-energia/ and also https://engineering.purdue.edu/ece477/Archive/2009/Fall/F09-Grp07/nb/Shaun/10_29_notebook/Blinky.pdf which helped me to do it. So now I am setting values for whole ports My program does not work yet though Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.