SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on how to get your MSP JTAG programmer up and running.
By MICyborg
#176615
finaly i got all components set up like in the pic.
Image

so the programming of this device is new to me and i cant find a good example or tutorial for my needs.

Its about to let the ringer ring so i need the code for transform the digital pin (lets say pin3) of the arduino into an output(thats easy)but then i need the code to tell the arduino to just put out the 3.3V just for 50 milliseconds then 50 ms no output than 50 ms output again and that for 50 seconds. he should do this process randomly every 5 to 60 minutes.
than...if you trigger another digital pin (lets say pin4) during this randomly executed process of 50 seconds ringing he should play one out of 10 different audiofiles.
thats it..
i should know how to do the rest (if you trigger pin4 during no ringing it should play 1 soundfile automaticaly) for my self.

This seems to be easy if you know the basics but i dont know how i can learn this. Maybe anybody can help me writing this or give me some links or other sources of good knowledge about my codingproblem :-)

thanks in advance
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]