would be nice to recieve the layout from you.
I am very sorry that I not answer for a long time.
And I am sorry, I not at once understood that you need a
PCB layout. I have not this right now. I am working on PCB. I only have a schematic in ORCAD.
But, McSim send me his PCB layout in Accel EDA v.14. (Thanks for him)
PCB layout in Accel EDA v.14.
PCB layout in *.pdf format.
My some comments for this layout:
1. This PCB is a first version of my schematic, where used internal comparator in microcontroller.
It's possible. It's works. But!
2. You need to place a 10k resistor between "Hi comparator input" and "GND".
3. You need uncomment string
#define INTERNAL_COMAPARTORin file Constant.h and recompile the code.