There is a Bug in the file "Dan_tinybld18F23K22-43K22-24K22-44K22-25K22-45K22-26K22-46K22_int16MHz_19200.asm".
To configure the analog ports as digital I/O you have to set the bsr to "0xF", so that the 2nd and 3rd instructions work as intended.
Also do configure the "ANSELD" register you have to use "ANSELC+1" and not "ANSELC-1".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is a Bug in the file "Dan_tinybld18F23K22-43K22-24K22-44K22-25K22-45K22-26K22-46K22_int16MHz_19200.asm".
To configure the analog ports as digital I/O you have to set the bsr to "0xF", so that the 2nd and 3rd instructions work as intended.
Also do configure the "ANSELD" register you have to use "ANSELC+1" and not "ANSELC-1".
Hello Christian,
Thank you very much for your bug reports !!!
New firmwares are attached.
I hope when you get to try if you have these devices.
I do not have these devices.
Best regards,
Dan
Last edit: Dan 2015-01-16
.
Last edit: Dan 2015-03-22