Pages: [1]   Go Down
Author Topic: Modifying wiring for one sketch  (Read 629 times)
0 Members and 1 Guest are viewing this topic.
Nowhere
Offline Offline
God Member
*****
Karma: 3
Posts: 852
|-\ |\|\
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My question is:

Can I make a sketch use a modified version of wiring.h and all the related files, with the modified version only used in that sketch?
In other words, can I cancel the inclusion of the original wiring.h and substitute my own file?


One of my intents with this is to modify the timer code that uses timer0 for millis(), etc.  Just as an extra timer for a project.

Thanks,
Logged

Soundcloud page: http://soundcloud.com/beefinator-2
Youtube channel: http://www.youtube.com/user/beefinator14
Old soundcloud page (ran out o

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just write the new initialization and setup of the timer in the setup() and its done.
Logged

Pages: [1]   Go Up
Jump to: