Hi,

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

http://svn.iearobotics.com/Curso_pic/PIC16/v1.0/Modulo4-timer/ejemplos/timer0-onda10Khz-int.c

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,
Kaan

------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user




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