Exactly, post #7 is a good example of the same problem.

Setting registers, instead of DEFINEs for HSERIN/OUT.