PDA

View Full Version : accessing source code



mle
- 21st July 2003, 14:26
Hello,
Is there a way of accessing the code for built in functions? In particular HSerout().

Thanks, Emily

Melanie
- 21st July 2003, 15:25
You can see what code HSEROUT contains by looking inside your libraries... typically open PBPPIC14.LIB and search for HSEROUT. If you're brave you can even modify and create your own variants.

However if you need to do something clever, Hardware Serial Output is particularly easy from within PBP without needing to use HSEROUT. Just look at the ASYNC section of your chosen PIC's Datasheet and you get all the information you need listed step by step... For example 16F628, section 12.2 look for the numbered step-by-step guide at the end of that section.

Melanie