Henrik,
It was a read-write-modify issue.
a simple PAUSEUS 1 between instructions solved it.
Thanks!
Henrik,
It was a read-write-modify issue.
a simple PAUSEUS 1 between instructions solved it.
Thanks!
Bonjour Patrice,
Or simply Write " HIGH or LOW PortA.0 " ... it will automatically add a little time ... ( equal to TRISA.0 = 0 ... )
hé,hé ... soyons flemmards !!!
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bonjour Alain,
You are right, I had noticed that writing "high" or "Low" indeed worked as well.
This is the first time I design a project running at 40 Mhz, so I am dealing with new issues I have not seen before.
You learn every day!
A+
Pat
Salut Patrice,
With PIC18, there's LAT port made to avoid this problem
You write to LAT ... but read from PORT
LATA.0=1
LATA.1=1
LATA.2=1
LATA.3=1
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks