Here you are a simple example of how to generate a 10Khz squared signal using timer 0 with interruptions. The comments are in spanish, but the code is very simple and easy to understand


Best regards, Juan

2010/12/21 Kaan AKŞİT <kunguz@gmail.com>
Dear all,

I am trying to get used to SDCC and having some lack of resources for coding. Therefore I kindly ask if someone can post a timer interrupt and external interrupt examples. Thanks in advance.

Best regards,

Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
Sdcc-user mailing list

Página personal: http://www.iearobotics.com/
Blog: http://www.iearobotics.com/blog/