At the risk of sound more dumb than I already have, There are statements such as:
' D1
shiftout din, sclk, 0, [47, 0\5] ' Select D1 pattern
While dout = 1
wend 'Convert5541Delay:
and the program seems to stop at the wend??
At the risk of sound more dumb than I already have, There are statements such as:
' D1
shiftout din, sclk, 0, [47, 0\5] ' Select D1 pattern
While dout = 1
wend 'Convert5541Delay:
and the program seems to stop at the wend??
Short that pin to GND and se what happen![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Okay and if I short it to gnd then the program continues to run. Comment out the WHILE and WEND statements things will run to a point where the program goes all the way back to the #config! Please note that I did not write this program, just trying to get it to function and there is a ton I simply do not understand. Thanks, Ed
Hi, Ramius,
Did you had a look to Intersema AN510 ???
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 " !!!
*****************************************
Thank you Alain!
Yes the app note was very useful as it turned out the spec sheet for the MS5541 was translated from Chinese to English and some of the more necessary information was missing! The "AN510" filled in some of the blanks. It also turned out that this device is sensitive to timing and Intersema decided to use strange methodes of SPI communications such as sending 21 bits and not 24! I am very happy that there are people such as you as well as many others that are willing to assist and teach. Thank you all. Best, Ed
Bookmarks