Hi,
Try using a pullup 2.7K resistor on the PIN.
While touching the pin you may induce quite a few volts(k) so perhaps it is not a good practice. PICs are sensitive to esd which may kill them.
Hi,
Try using a pullup 2.7K resistor on the PIN.
While touching the pin you may induce quite a few volts(k) so perhaps it is not a good practice. PICs are sensitive to esd which may kill them.
Regards
Sougata
No pull-up or WPU... the i/o is set as an output and set to low and AN INT happen???? huh???? I must miss something here!
Maybe i'm blind... but i don't see any cod in here... so i would assume the TRIS register haven't been changed. Try LOW PORTA.5 instead.. if this work.. it just mean you didn't at least changed TRISA setting....or the INT don't care about the TRIS... i'll check the datasheet...
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Yes an int happens... No clue why it happens.
I didn't put any code here but beleive me,Maybe i'm blind... but i don't see any cod in here... so i would assume the TRIS register haven't been changed. Try LOW PORTA.5 instead.. if this work.. it just mean you didn't at least changed TRISA setting....or the INT don't care about the TRIS... i'll check the datasheet...
TRIS is set as 0 (output) for RA5 and I used PORTA.5 = 0 to be sure it has been set LOW.
I beleive the pin should be low and an int should be triggered when I apply +5V on the pin to set it logicaly HIGH but that's not what's happening.
And an int happens for this pin even in I touch another pin or even the GND heatsink of the L7805 voltage regulator or +5V or GND...
I checked the connexions on the breadboard and everything looks fine...
Very frustrating.
obviously, there's something else... great news i have over 500 of those in stock
i'll try a simple snippet and see what happen. I would guess the interrupt will happen 'cause it's feeded in a X way inside. Probably you will need to disable the interrupt as well...
let's see what will happen on my side in a few minutes.. gimme 1/2 hour + couple of RedBull+Amaretto (even if i shouldn't... don't tell to my doctor)... or so.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
unable to reproduce the problem here...
post your code.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks