We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
please send me some code to interface rf device to microcontroller(i.e. RFM12(B))
You forgot a potential "break" statement in your flow chart.
"Consider if the selected processor (or peripherial) is really suited for the task. Potentially switch to other hardware, or consider giving up because the cost (amount of time and/or money required) is too high.
As I've said before, handling the "everything works fine" route is (almost) trivial - it's handling all the "exceptions" that make up 90% of the work!
The difference between "sample code" posted on websites and real, commercial-grade, software fit for release is, usually, the 90%...
I wouldn't want to spoil that tradition!
;-)