Hi guys,
I'm trying to figure out how to trigger a routine when a especific pin changes from digital low to high.
I can eventually create a jump to a short check on that pin and then return to...
Has anyone tried these yet (there are no search results for computation)?
9769
Is so, do you have sample code?
Ioannis, you misunderstood. Dead LCDOUTs, not dead LCDs. :p
I forgot to take out the commands when I migrated from my breadboard for preliminary tests (on the left), to the larger circuit on the...
The very famous R/W issue ?? :rolleyes:
try with High and Low commands instead and tell us what ...
Alain
I do understand fully. But also think there is a way compiler can detect that when needed. Sure it should not fill all over the place the CLRWDT!
Ioannis
I disagree. If the compiler adds a CLRWDT in between every single instruction then there's no point in having it in the first place.
It's not going to detect a "fast loop" you make in your code.
If compiler does not analyze this case then it is a problem. I really cannot remember having such a problem over my 25+ years of using PBP.
Will try to find that tight loop I tried many years ago...
PBP does handle it in, dare I say, >99% of cases. Here's one, fairly unrealstic case, where it doesn't.
I don't think PBP analyses the code in the details and determine exactly where to insert...
I'd certainly buy a scope over/before any logic analyzer but IMHO once you have verified signal integrety with the scope, moving to a logic analyzer with a nice and quick UI like LOGIC is WAY more...
HenrikOlsson Yesterday, 11:26
Re: IOC on 18F2580?
why not use one of the interrupt pins int0 int1 int2
richard Yesterday, 23:54alternatively
portb pins 4 to 7 have interrupt on change capability
read data sheet interrupt section and i/o port sections ...