So, I'm confused. Why would you define the port as anything except a gpio?
Also, I keep seeing statements at the top of the code that starts with "@", but when I put that in, the compiler gets all cranky..
Gary
So, I'm confused. Why would you define the port as anything except a gpio?
Also, I keep seeing statements at the top of the code that starts with "@", but when I put that in, the compiler gets all cranky..
Gary
> Why would you define the port as anything except a gpio?
Absolutely no reason at all. Unless you just want to be different.
Sorry for the confusing variants.
We're just having a little mental exercise about how many ways you could reference a pin on a 12F675. I guess your question provided a good place to have some fun.
I think everyone will agree that GPIO is the proper way to go. But knowing if there's something better is .. well, better.
<br>
DT
Originally Posted by Meriachee
Meriachee,
If you like to see how it goes, try posting a working code say 20 lines, and then ask here that you need the code with less code size.
And then watch what will happen.
-------------------------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Yeah sometimes it disgress a little bit
Nice one Paul![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks