Go Down

Topic: Modifying wiring for one sketch (Read 653 times) previous topic - next topic

sciguy

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,
Soundcloud page: http://soundcloud.com/beefinator-2
Youtube channel: http://www.youtube.com/user/beefinator14
Old soundcloud page (ran out o

Senso

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

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview