I meant a slightly different thing.
Say I have 16F870. No specific DEFINE's added.
Since this chip has 1 hpwm channel only, hpwm 1,100,1000 works. But if I type hpwm 4,100,1000, compiler will give error, since there's no such hardware port. In case of 18F45K20, compiler absolutely does not cares, what port address you enter in hpwm statement. This is the problem.
Bookmarks