This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Ibutton dallas

I am very very very very new to the c enviroment of keil ,yet I want to know a bit more ,Is There a Keil C lib help somewhere?

Second ly I have tried to write to my intelligent lcd threw the Keil compiler , it works threw my address lines of the mcs51
,is their a library or code examples somewhere of how to write data to the lcd ?
I have tried example code but it doesn't initialize my Lcd even!


Thirdly I am currently writing most of my applications in asm51 (takes time) , and are struggelling with reading data from The Dalas Ibutton 1992 ,using the 1 wire protocal,my write_one,write_zero ,and initilize procedure's works as tested on osciloscope!
I send it a 33h to get Id of button!
My read work according to timing loops as tested with osciloscope,
But when I display the Value I get a funny weird value back and not the 64 unique id I want!

Parents
  • "Is There a Keil C lib help somewhere?"

    In uVision, just click on the name of a library function in your code - eg, printf - then press F1 and you'll get the help on that function.

    The same information is also in the printed manual, which is also installed in PDF electronic format & accessible via the 'Books' window.

    "Thirdly..."

    It's best to start a separate thread for unrelated questions!

    "But when I display the Value I get a funny weird value"

    How do you display it?
    What do you actually get?
    Have you used the debugger to examine what's actually stored in memory?

Reply
  • "Is There a Keil C lib help somewhere?"

    In uVision, just click on the name of a library function in your code - eg, printf - then press F1 and you'll get the help on that function.

    The same information is also in the printed manual, which is also installed in PDF electronic format & accessible via the 'Books' window.

    "Thirdly..."

    It's best to start a separate thread for unrelated questions!

    "But when I display the Value I get a funny weird value"

    How do you display it?
    What do you actually get?
    Have you used the debugger to examine what's actually stored in memory?

Children
No data