Hi,
I just copied the code that Cocacolakid posted, modified a bit, compile the program with version 2.46 of PbP, program run ok. When compile with version 2.50 of PBP, program just stuck/stop at "hello". Both case, I use PM assembler. The chip i am using is pic16f876 @20MHz.
I don't know if v2.50pbp has problem or with the 1-wire commands (onwin and owout).
i attached the file below for checking.
If anyone has time, please confirm/verify/correct me if i did anything wrong.
Thanks,
Bookmarks