I don't know wich terminal software you're using but be sure it send ASCII character and use the right modifier in your Serin/Serin2/DEBUGIN/HSERIN line.
Look for # or DEC.
Also, make sure your terminal software don't send cr and lf character.
Once you're sure of it, you should have better results.
If you send 100 and receive it correctly, you should have a 16% duty cycle.




Bookmarks