Sunday, November 27, 2011

Into Project @ TCS

Been a long long time since i have posted something on my blog .I am missing this place badly . Finally after long training and after 1 month of waiting i.e on bench i was put into a project . Name of the project is GICC global infrastructure command centre . I can proudly say i work in NOC speaking simple i work in L1 support where much has to do with process rather than technical . My colleagues are ok I should say not bad . And about work hmmm feel like bit hectic . Should be working all the time . My Team Lead she is good looking tall lady . I should say during the early days she was just another TL like any other project has but as i have started working along with her i realized that she is super good. She is quick thinker and grasps things very fast .

And not just this but she co ordinates very well .Seriously if i have this talent of reading once mind i would read her mind all the time. Because i strongly feel like she is doing her work all the time and she observes each and every person that is really difficult thing to expect . Hmmm and so far so good i am trying to impress her at the work but somewhere somehow i feel like i am missing it. Dont know why its not ticking that fast . And coming to case of me in personal coming to this project actually changed me a bit i guess a lot in few aspects . Firstly i believe i am now a bit more organized when doing things. My ability of remembering things is very poor previously but now i have improved infact my work demanded this so i have to remember . The only thing i feel like missing is learning. But i strongly feel that is upto me if i strongly make make my mind to learn nothing can stop me.

Monday, July 18, 2011

Training @ TCS @ Coimbatore

2 months 15 days of training , I had lots of memories to carry forward , met different kinds of people . This is my first experience to stay away from my home . I can say my bachelor life . That was fun i can say that without any doubt . I guess i have earned good number of friends which i never thought of doing . I also learned few good things from them too . The stay at hotel vishnu priya is amazing . It should be a big joke if my friends who stayed along with me in the hotel listen to this because we were asked to adjust 3 members in a room . This is kind of absurd but still i feel it was fun . And comes to training , Tecknoturf info solutions is responsible in this . Sarojini mam , kaushik sir , dhayanand , lavanya mam , manikandan .. Many more if i keep on talking about . The other best part are the trips that we had i.e tours to kanyakumari , kodaikanal , kovai katralayam , palani , maruthamalayam temple . Those were awesome experiences .

More than anything i am happy because i got the chance to meet different kinds of people , I mean to say different people in the sense of attitude . Every person with different attitude and hence different in their own way of living . Either it be girls or it be boys . I guess i almost had formal or good relationship with almost every one . Few people whom adore or feel proud to be friends are Puneet , nikhil and somansh . Besides them i also feel i had emotional bonding with swathi . Initially i am almost touched with her affection . But later on she was very busy with her other friend that she has to ignore me , this pained me a lot but at the end i have to accept it and still smile for her . I am thankful to god that i imagined her only as a friend which actually allowed me to forget her early or else i would have suffered , for sure . I had many more friends but i take the relationships as sweet memories . Specially to mention about sri durga . I really had great fun with her during the time of return journey , i was totally a different person in the train to that of one in the training . I guess i was enticed with her way of handling people right from the starting and hence i might have had some special attention , but that was not intentional . One thing for sure was she use to frighten me with her body language or eyes , which kept me in my own limits when i talk to her . Got to see how long the relation ship goes on atleas on the facebook atleast

Tuesday, March 8, 2011

Negative sides of success


One of dear friend of mine quotes success as just edge over others . Yes it might be right in some cases . But this time i have some thing really strange to blog , dont know why but i have been trying to understand what a success is and unfortunately i find ill effects of success too . What ethics in simple words means that good things . You need to do good be good . That is all , but how difficult is it to be ethical these days frankly speaking very difficult . And my point is that we are not really that confident of what we believe in untill we achieve something . Consider the case of period of pre-success we tend to follow some roll models and get inspired from them and along with this i firmly believe there is a wild part is us too and i should say that part is hided in this pre-success period . It shows only minor symptoms . But what happens is when we attain this success we tend to believe in ourselves . Now we also start believing in our wild part of us too . Now if the volume of success is a larger one we tend to even portray that wild part too thinking that this may even inspire some one else .

Now what is happening most people are really normal people definitely not Vivekananda or Gautama Buddha . We strive for success and we improve bad qualities too. But some where or some how i have an answer something called common sense and attitude matters and here these things play some role in moulding us.

Monday, February 21, 2011

My CTS interview .

I got to be blogging this because this is disaster experience to me. I have been to tirupathi . Last Monday , suddenly on Wednesday i got the mail from cts to attend for the technical interview . With a great effort after traveling for about 14 hours i reached here and i gave my interview . I am done with all the three rounds but still i couldn't make it to the final list . Definitely what the hell can i do if the interview person asks me how a digital camera works or how a micro wave owen works . I am an electronic graduate yes of coarse but this does not mean i know every electronic good . Right now i am not really obsessed but now enough has happened i am looking forward for my joining into TCS . I can't answer every time that i am still waiting for my joining .

Friday, February 18, 2011

CHOICE------------ SATISFACTION

I carry strange type of doubts in my mind every time this time i am struck with this concept of choice and satisfaction . When we look at these words separately we dont find a great deal of relationship unless we observe clearly they stand together which is hard to realize . We find choices in few parts of our life and rest we wont be left with options or choices . We got to stick with them . Infact we love them a lot than those which are choosen from choices . Making this even simple we love our father and mother more than anyone in the world . And we dont have to choose from them . Hence if we are asked a question if you are satisfied with your father it would be a big joke . Our father is what he is and we accept him as himself . Hence there is no question of satisfaction ,but this goes vice versa in the case of our spouse because we find choice in choosing them .

It not that i want to convince that when you have choices it may spoil you levels of satisfaction ,though we are satisfied we lag behind some where in the future . So its how we understand a relation ship or any thing that deals with choices .

Friday, February 4, 2011

Betraying oneself

This happens with most of the people around me some say i am positive some say i am optimistic some say i live this way . But i feel they are betraying them selves is this how we lead our life . Betraying ourselves . I just want to make it simple and make my own point . We do a lot of things every day we meet a lot of people every day and philosophy says everything has a meaning and impact. And the magnitude of the impact depends on the perception of the impact . And it is definitely the most difficult thing because if we perceive the right thing from every thing we come across after say 15 to 20 years we will be a perfect human being or a spiritual guru .
This is what the problem i am facing i feel that i can do a work and i postpone it at that point of time i know that i have to work out but i betray myself that i know that but actually not . There is a small distance between betraying oneself and betraying others definitely betraying oneself is a bigger crime than betraying others because others may realize one day that they are being betrayed but if you betray yourself it gets really difficult to realize and after certain point of time you try to convince people around you . Hence the best way to understand oneself is stop betraying then we can live life in a meaning full way and we can actually start winning with spirit .

Saturday, January 8, 2011

Life not regular in Metro




I am proud to say i was born and brought up in one of the metropolitan city ,Hyderabad . All my friends enjoy the special thing about being a metropolitan . Life in a metro actually starts after 9 o clock . This is the most unfounded thing. People here actually spend their best of the 24 hours time during the night when the other part of the world starts sleeping. My blog will be really small to explain about the night life in metro . Either it be the pubs or it be the temples . what not ,and what if its a 31st of December , i am sure very very few people actually go to bed on that day , Every where you will find night shining with lights and people instead of having drowsy faces actually wait for clock to tick 12 o clock and when it happens they party a lot , damm lot , Drinking,roaming and celebrating.
Having tasted all these things(Except drinking) still i feel my old way of leading life that is going to sleep by 10 o clock and waking up early in the morning and giving a grand welcome to new year into my life . And not just this one mostly i try to go to bed early, because waking up early in the morning is fun , dont know why that actually gives some happiness . I strongly suggest to my readers doing this just sleep by 10 o clock and wake up at 4 or 5 o clock in the morning start doing work , that day would be really good . You will enjoy it to the maximum . Ever since i was student i use to wake up at 4 in the morning to study(atleast name sake) . I am not sure how much i learned in the morning time but i enjoy the rest of whole day . Just wanna remind an exaple small kids if we observe they wake up early in the morning and they start playing happily, just because its the warmth that they find with nature despite being with mother . And believe me that warmth is same as that we find in mothers lap .

Friday, January 7, 2011

Are we learning it right




I am having almost a night mare when i tried to teach Java to my sister who is 4th topper in her college and passed her first year in distinction . The nightmare is that she being an Computer student could not understand the basic thing in a programming language , its commenting a line (if you are aware of any programming language you ll know this , All i can say its the most basic thing) . It just not about her most of her friends are in the same situation . Is this the problem with the student or lecturer or university who is responsible in giving 70/100 in her final exam.
My concern is not just about my sister its about the system , definitely i am not the right person to show up the faults of a university , but who is the sufferer , This is not just small case because a place near my home called Ameerpet is very famous for teaching computer related subjects . If i go there i can find huge youth opting to study there , Most unbelievable thing is that almost all the people whom i find there are actually graduates and believe and specially from B.Tech and guess what they come there just to learn the subjects which they should have learned as a part of graduation .

Whom should i blame is that the parents who are paying chunks of money for their kids future . Is that the student who spends of half his teenage in the college imagining that those shit things will mould his future bright . Or is that the lecturers who come there feeling that student understands what ever they say . If i am not wrong most of the engineering colleges are like fools paradise . Where are we heading to .

But still personally i am Techie and i understand things in my own way , its just that simple if you wait for some one else in this world to come and reform you , You will get stagnated . This doesn't mean that Student should start running with their life i feel its all about answering your conscience .

JUST QUESTION YOURSELF , AM I DOING THE RIGHT THING!!
This is it you will do some thing or the other , because after all philosophy of life says every thing comes next to life . Its all about how you tackle things . If you can you are victorious .


- TILAK

Wednesday, January 5, 2011

Local Train is fun


Since my childhood ,until my graduation i stayed in Hyderabad but i never got a chance to take train , every time i use to travel by bus but only after graduation i started to travel by local train . I had this habit of foot-board traveling in the bus during my intermediate . It was not a big fun but i use to do that because many of my friends even do that . I was grown up enough when i started traveling by train and i avoided foot-board travel thinking that it is dangerous . But yesterday i got this chance of foot board traveling . Believe me its totally a different feeling when you watch the running track beside you and if it is during afternoon the cool breeze kisses you every time and what not you will find JANNAT(heaven). And specially when you are crossing a bridge you can find no land under our legs and feel like flying .
Definitely foot-board traveling is not good but still once in a while with good care it feels good and makes you free from all the tensions . I loved the feeling and hence i am blogging this .

--RajTlak

Tuesday, January 4, 2011

Who is the victim ? ?


I had a special experience of learning a bold story of one of my lecturers who taught me java . Mr Durgaprasad , I joined his institute to prepare for my SCJP exam . I found him to be more friendly unlike other faculties . But i got to know about his story which was really touching . And he tells the story with great pride .
He starts up directly with the hardships which he faced during his under-graduation(B.tech) . His father was a farmer and as usual same old thing it is difficult for his father to send him the money every month . Typically most of the Indian students specially south indian students face this . And he said how he use to manage his money . Every month he use to get something around Rs 150 . He has to use them for the entire month and what he use to do is he goes to a small hotel where he can get a bowl of rice with sambar(south indian food) poured in and to save that food he use to save half of the food for the night and he eats the rest as a lunch and when he opens his box again for the night dinner every day there use to be water squeezing out from the food . And he said proudly that he still use to eat that .
After reading this these were stories which many people faced specially my previous generation people . The thing that this poor lecturer wants to convey is as he never had money to buy books he use to borrow from his friends and write the notes in advance so that he will have all the notes before the exams . And he proclaims that if at all he had money he might not have been this successful earning something around 1 lakh or 2 per month .
Yes i do have mixed feelings for his responce , as from child's perspective i have nothing to blame because even the child is a human being and he carries typical temptations . I he is lured and given luxeries he will get habituated to them and even addicted and obviously it gets difficult to getaway from them . And form the parents perspective , they earn a lot thinking that their child should not have all the problems they had in their childhood and they provide all the luxeries . But i feel they are actually forgetting the factors which made them successful what they are today .
On the whole its the perception , once the child grows old he has to understand himself and move accordingly and definately when the child is brave enough to take decisions parents are always there to support . After all Parents are the children's first well wishers .

Tuesday, October 19, 2010

Understanding ME

Sounds really strange what do i mean if i say i am trying to understand myself . Yes this the most difficult thing for me which i have been doing and still trying to do in fact i should say i have not understood atleast half a percent of mine . Today i happen to see and interview of hero SIDDHARTH i could find a point which he mentioned in the speech to be really something to think about and there are many people who are actually suffering with the same problem what i am suffering today and this is about a stable mind . I should think about this thing in particular .


http://www.youtube.com/watch?v=6wZ7hr2v8T0&p=2DA70160DD0210B3&playnext=1&index=3 link of video i mentioned

Friday, October 1, 2010

And yes might be yes

My last blog was regarding my unemployment And yes finally i got a job infact few jobs and this is even more Woking for Ilensys its client is Thermo Fisher Scientific Yes i should confess not really exiting work but sure finding excitement in job is upto one. And another one Maintech technologies exactly speaking suppose to work in IBM as system administrator few reasons i rejected it and continuing with Ilensys and dont know where i am exactly heading to but surely i am working with present rather that looking or imagining for tomorrow . Best thing is that Its ur present which rules your future so work out the present and u ll find Tomorrow wonderful .

Wednesday, September 1, 2010

HOW "\b" works

Here comes a new task definitely there will be a doubt around somewhere in the mind about how the operator '\b' generally a basic one but yes i would like to make this as a blog.
As this is program i would like to make this more like programmatic

void main()
{
printf("Hello operator\b");
}
out put:
Hello operator

Yes we find no difference in the output the only thing we find is cursor blinking at letter 'r' . This is how actually \b works it will just take the cursor to a position to its left if we try to print from there obviously the last character gets over written. This is how it happens .

void main()
{
printf("Hello operator\b");
printf("bye bye");
}
output:
Hello operatobye bye.

If we observe the output clearly we find the last letter 'r' is missing . This is how exactly the operator '\b' operator works

And HELLL


And yes its hell for me been jobless for 3 months and couldn understand where i am heading to. Tough time is turning to be a worst time ,and the confidence levels are actually decreasing, my performance is actually getting degraded after every exam . Perfectly speaking when i look back for the last three months i did not face any technical interview yet and few i got kicked out during the first level of the interview. Definitely i cant escape saying that i dont compare myself with others , I try to ignore in most of the occasions but few are enough for me to get hurt. Its not the success of my friends which is hurting me but yes its my failure which i have to accept . I am trying to find every possible way but every door is getting closed . And shit i dont understand what should i do .

When u dont get employed doesnt matter about your academic record or the achievements u will be ignored just because u didnt reach the goal . It is important that you reach the goal people dont see how you did that and they are too busy to look out for those things.Yes i had the answer i am not living for the people around but success is something which matters even for self inspiration or to go ahead in life. And when u are facing failures ,yes i will start doubting myself regarding my abilities and my way of working and the goal i am working for . Many a times it will be the case you reach a place where you are not intended to or willing to but still u live there just because of the reason ,which i say you .
Words like determination, burning desire look good to watch out for or hear but they dont taste good untill unless we totally imbibe them and its not that easy to imbibe them. But the only thing that makes me carry through in my life is yes i have to go on i am living it for myself let me find every way let me run as long as i can , i cant wait for anyone and i expect no one to wait for me or give a helping hand . what ever be the way , what ever be the style i will keep running even if i reach my goal because this is LIFe for me.

Thursday, August 19, 2010

TESTING TIME



What is actually a toughest phase of one's life . 2 months before i said i dont know . But now might be yes this is the one which i am facing . I dont totally agree with this toughest phase of life but what actually makes something tough is when you feel something genuinely as tough or something which was made to look so by the people around . Definitely cant escape that i do carry some sort of jealousy which i imbibed during my student life and i just came out of student life hence i find some reminisces . Might be because of that i am feeling pressure . Every time i try to overcome that sort of shit but cant escape every now and then some person or the other or some situation will make me think .

As i said earlier tough thing is what actually made by the things around you and the real courage comes out at this point of time which makes you to work against the odds , but something called fate do exist . Its funny to say fate or mention this point but fate in this situation means a lot . I can say i do carry a lot of passion but things happening around can alter ,concisely speaking might be the people or might be the situation u are in impede you from achieving the goal . But one thing is for sure you cant ostracize things for this reason .
I can look Sanctimonious to some extend but that is actually something which makes me stand erect to the tides of life it is important that whether i crossed the tide or not . No matter how nefarious those tides are u have to cross it only then the value of real inner mettle comes out.

NOTHING COMES EASILY ,IF IT COMES THERE WONT BE ANY VALUE FOR THAT SO WORK OUT AND ACHIEVE IT ONLY THEN U WILL ENJOY IT TO THE CORE

Tuesday, August 17, 2010

Great song i ever listened to in my life





Movie: Sirivennela

Lyricist: Sirivennela Sitarama Sastry

Language: Telugu

Vidhata talapuna prabhavinchinadi anaadi jeevana vedam...ommm...
prananadulaku spandananosagina aadi pranavanaadam...om...
kanula kolanulo pratibimbinchina viswaroopa vinyaasamm...
edakanumalalo prathidhvaninchina virinchipanchi gaanam....aaa..

sarasaswarasurajhareegamanamavu samaveda saramidi...
nepaadina jeevana geetham...ee geetham..

virinchinai virachinchitini ee kavanam..
vipanchinai vinipinchithini ee geetham....

prathisa vaeneeya paina dinakara mayoogha tantrulapaina..
jagrutha vihanga tathulai vineela gaganapu vedika paina...::2::
palikina kilakila tvanamula swaragathi jagathiki sreekaramu kaaga..
viswakaryamunakidi bhashyamugaaa....

virinchinai.....

janinchu prathisishu galamuna palikina jeevananaada tarangam
chetana pondina spandana dhvaninchu hrudayamrudangadhvanam...:2:
anaadiraagam aadi talamuna anantha jeevana vaahini gaa..
saagina srushti vidhaanamu ne,,,

virinchinai...

naa uchwasam kavanam naa nishwasam gamanam....:2:
sarasaswarasurajhareegamanamavu samaveda saramidi...
nepaadina jeevana geetham...ee geetham..



Translation:

In the thoughts of the creator the ancient living veda has born..omm
The earliest salutable hymn that has enabled senses to the human nerves..omm
The representation(exhibition) of vishwarupa that has reflected in the ponds of eyes...omm
The Brahma's song that has reverberated around the mountains of heart...aaa
This is the gist of sama veda, which is like the movement of angels
The life song that I am going to sing...this song

I re-wrote this poem By becoming Brahma him self ...
I made you hear(sang) this song By becoming a bird ...

On the flute of Eastern side and on the strings of morning sun...
becoming the sounds of woken up birds on the stage of blue skies..
when the rythm of that spelt twitter sound has become the initiator of world..
By making it the holy message of universal act..

I re-wrote this poem By becoming Brahma him self ...
I made you hear(sang) this song By becoming a bird ...

The waves of living sounds that will speak out of every infant that is born..
The sounds of a heart that are like Mrudanga's sounds when the heart is responding to an emotion (chetana)
By making those earliest tunes on the adi tala as the eternal life saga..
That ever going natural(creation) process ...

I re-wrote this poem By becoming Brahma him self ...
I made you hear(sang) this song By becoming a bird ...

My Inhalation is the poem..
My Exhalation is the song..




Got to confess i just copy pasted this from some odd website but this song is something which wakes me up and energizes me so i thought i should do this

Thursday, August 5, 2010

The GOD

     I say yes he is god. Surely i had a specific purpose to write a blog regarding this special person . He is none other than sirivennela sita rama sastry . This is his name as far as Telugu Film industry is concerned his actual name is Chumbolu Sitarama sastry . One and only maestro when it comes to the case of writing lyrics. He has penchant interest in telugu literature . His lyrics are peculiar and stand different  he is special because of the range of variety that he provides in writing lyrics and also belligerency that he shows in his writing. I am a huge fan of SRI SRI a famous poet . But i never found a poet after him and now i could feel the same essence of sri sri in sitaramasastry's poetry.  The main thing that amazes most of the people is he constructs great sentences with normal words and also he uses pretty peculiar word . And many a times when he writes a song he strives for atmost judgement i.e... the singer has to convey actual meaning of the song . And if things go wrong he is a cruel commentator .

      He had his respect equipoise for most of the people but if he finds things going wrong he is the first person to come out either with his poetry or his lecture. And the present day songs which demand a variety of lyrics because of the shape of the tune . But this genius never kept songs which floated on tune , his songs just gets enconced in the tune firmly. 

Wednesday, July 7, 2010

A Walk that means a lot

                      Definitely i am nebulous about what i am saying but dont know thats something which made me blog it for today. Its been long time since i got myself busy with things. As i completed my graduation i was just making most of the time. I am doing what not , watching movies. freaking out with friends.  But yes still i had some sure optimism that is making me confident .Yes i had it , something that questions me all the time why some one need to eulogize u to do something, And more over i had some weird things that keep pricking my mind all the time , as a part of my project and hobby i have involved my self into electronic projects during last stage of my UG , and just to prepare a moving body we have to present our heart and soul, and still we couldn make the best.. Every time when i recheck things some fault or other surely comes out , and i wonder how was over body developed which is so realistic , and flexible. If god has made this definitely he deserves all the prayers we offer.

                     And the most ridiculous thing is not getting inspired from ur body. U are given wonderful construction of no cost and ur sure inability couldn make the most of it and still blame god what is that u have done to me. Its an incontrovertible thing that work we do offers 90 percent of result from our input and these things are not to be isolated . Erudition is the mere thing that we tend to find in most of the people , yes thats what the life is all about and bitter truth is we have to accept the people as they are because there is world around you and that is surely not built for u . U are just a part of  this world. This pervasive truth , No one will expect the magnanimity from others its just the simple fact of respecting what they are, never mind until or unless they hurt someone.
                  
                    Hmm  loads of philosophy definitely i am not cynical or obscurant  but just what i feel the thats is what i feel strongly. And these things will be learned only when u meet different people in ur walk of life . Yes u meet with lot of people in this brave journey what is called life i have met a lot of people but not many were my buddies to core just because i couldn't realize the fact which i mentioned .

Monday, May 31, 2010

Winning it never mind whether it is graceful or disgraceful

                         Who is bill gates first thing that comes to a common man is one of the richest , a technical person can remember him as founder of microsoft. What else hmmm yes there are many achievements which make him great . Since morning i have been reading his life history , Till now he was one among who i really adore a lot but as of now he is not . But still i do love  him because not just he is a computer geek , but he is a good business men . In fact more that a computer engineer he is business man . Firstly he was born in a rich family , in his biography unlike other biographies his mother was given a major role . More over bill loved his mother a lot .
                        Directly entering into  the matter i cant narrate his story but i would like to share something regarding him . Well got to confess he is hard worker ,stoic . He was never garrulous by nature. But still he enjoyed technical conversations .  He was good at mathematics and almost all the academic subjects , but he was actually amazed of the computer right from his early age . As his parents are rich he could join into nice big college and guess what  

Wednesday, May 5, 2010

Final project final code

 #include

//------------LCD INITALIZATION-------------------
sbit rs=P0^2;
sbit rw=P0^1;
sbit en=P0^0;
sfr ldata=0x0A0;

void lcdcmd(unsigned char);
void lcdwrt(unsigned int);
void lcddisp(unsigned char *); // for lcd

//--------------------------------------

//-------------ADC0848 DECLARATION-------------------------------------
sbit cs=P3^2;
sbit wr=P3^3;
sbit rd=P3^5;
sbit intr=P3^4;
void convert(unsigned int);
void adc();
unsigned int value; // for adc0848 ic.

//---------------------------------------------------------------------

void delay(unsigned int);
void delay20ms();

// ---------------------------RF DECLARATION---------------------------
sbit rf1=P0^4;
sbit rf2=P0^5;
sbit rf3=P0^6;
sbit rf4=P0^7; // for rf using only 3 swithches

//----------------------------------------------------------------------

//------------------------GSM INITIALIZATION----------------------------
void gsminit();
void sendtoCOM(char *str);
void send_SMS();
void makecall();
unsigned char message[16],in_num[15]={"9908573677"};
unsigned int tmp;
code char *at={"at\r"};
code char *atcmgs={"at+cmgs=\""};
code char *atd={"atd9908573677"};
code char ctrlz[2]={0x1A,0x0};

//----------------------------------------------------------------------

void crazyangle();

void main()
{

    P3=0xFF;
    lcdcmd(0x38);
    delay(10);
    lcdcmd(0x0E);
    delay(10);
    lcdcmd(0x01);
    delay(10);
    lcdcmd(0x06);
    delay(10);
    lcdcmd(0x80);
    delay(10);
    lcdcmd(0xC0);
    delay(10);

    lcddisp("ACCELEROMANIA ");
     delay(50);  
    lcdcmd(0xC0);
    delay(10);
    lcddisp("1:RUNNING MODE");
    delay(50);
    lcddisp("2:PARKING MODE");
    delay(50);
    lcddisp("3:IDLE MODE");
    delay(50);
    lcddisp("4:ANGLE MEASURING");
    delay(50);

       gsminit();              // LCD general initialization
    adc();                    // calling adc funtion;

}


void adc()
{
    int check=0;
    intr=1;
    cs=1;
    wr=1;
    rd=1;
   
    while(1)
    {
        P1=0x08;                        // Initiating the channel in among control lines
        cs=0;
        wr=0;
        delay(50);
        wr=1;
        cs=1;
        P1=0xFF;
        while(intr==1);
        cs=0;
        rd=0;
        delay(50);
        rd=1;
        value=P1;
        cs=1;
        convert(value);
       
        if(rf1==1&&rf2==0&&rf3==1&&rf4==1)
            {
                check=20;               // switch to switch off parking mode
            }
   
        if(rf1==0&&rf2==1&&rf3==1&&rf4==1)
            {

                check=30;             // switch to switch on parking mode
            }

        if(rf1==1&&rf2==1&&rf3==0&&rf4==1)
            {
                check=40;            // switch to switch on IDLE mode i.e, nothing works
            }
        if(rf1==1&&rf2==1&&rf3==1&&rf4==0)
            {
                check=50;            // switch to switch on IDLE mode i.e, nothing works
            }


        if(check==20)
            {
                if(value>120)
                    {
                        lcdcmd(0xC0);
                        delay(10);
                        lcddisp("BIKE STOLEN  ");
                        delay(10);
                        makecall();
                        delay(50);
                        send_SMS();
                    }
                else if(value<109)
                    {
                        lcdcmd(0xC0);
                        delay(10);
                        lcddisp("BIKE FELL DOWN ");
                        delay(10);
                    }
                else
                    {
                        lcdcmd(0xC0);
                        delay(10);
                        lcddisp("SECURE  ");
                        delay(10);
                    }
            }
         if(check==30)
            {
                if(value>155)
                    {
                   
                        lcdcmd(0xC0);
                        delay(10);
                        lcddisp("FALLEN RIGHT    ");
                        delay(10);
                        delay(500);
                        if(value>155)
                         send_SMS();
                    }
                else if(value<115)
                    {
                   
                        lcdcmd(0xC0);
                        delay(10);
                        lcddisp("FALLEN LEFT   ");
                        delay(10);
                        delay(500);
                        if(value<115)
                         send_SMS();
                    }
                else
                    {
                        lcdcmd(0xC0);
                        delay(10);
                        lcddisp("NORMAL POSITION ");
                        delay(10);
                    }
        }

    if(check==40)
        {
            lcdcmd(0xC0);
            delay(10);
            lcddisp("IDLE MODE  ");
            delay(10);
        }
    if(check==50)
        {
           crazyangle();
        }


    }
}


    void convert(unsigned int temp)
        {
            int x,y,j;
            unsigned int arr[10],i=0;
            while(temp!=0)
                {
                    x=temp/10;
                    y=temp%10;
                    arr[i++]=y;
                    temp=x;
                }
            lcdcmd(0x80);
            delay(10);
            for(j=i-1;j>=0;j--)
                {
                    lcdwrt(arr[j]);
                    delay(10);
                }

         }


void lcdcmd(unsigned char val)
{
    ldata=val;
    rs=0;
    rw=0;
    en=1;
    delay(1);
    en=0;
}

void lcdwrt(unsigned int m)
{
    ldata=0x30+m;
    rs=1;
    rw=0;
    en=1;
    delay(1);
    en=0;
}

void delay(unsigned int x)
{
    int i,j;
    for(i=0;i<=x;i++)
    for(j=0;j<=1275;j++);
}

void lcddisp(unsigned char *value)
{
    while(*value!='\0')
        {
            ldata=*value;
            rs=1;
            rw=0;
            en=1;
            delay(1);
            en=0;
            value++;
        }
}


void gsminit()
{
   
   
    TMOD=0X20;                               // Timer 1-8-bit auto reload
    TH0=0X4C;
    TL0=0X1E;                               // Timer 0 - 50ms delay;


    TH1=0XFD;                                //9600 baud rate

    SCON=0X50;                             // serial transmission
    TR1=1;                                  // timer 1 start,i.e enable serial transmission
    TR0=1;                                   // Timer 0 start;


    sendtoCOM(at);

    for(tmp=0;tmp<50;tmp++)
        delay20ms();

     //---------FOR THEFT MANAGEMENT---------------------------------
   
        message[0]='B';
           
        message[1]='I';
           
        message[2]='K';
           
        message[3]='E';
       
        message[4]=' ';
       
        message[5]='S';   
           
        message[6]='T';   
           
        message[7]='O';
           
        message[8]='L';
           
        message[9]='E';
           
        message[10]='N';

        message[11]='\0';

 }

 void sendtoCOM(char *str)
{
    while(*str!='\0')
    {
        SBUF=*str++;
        while(!TI);
        TI=0;
        for(tmp=0;tmp<50;tmp++)
        delay20ms();
    }
}

void send_SMS()
{



    sendtoCOM(atcmgs);

    for(tmp=0;tmp<50;tmp++)
        delay20ms();

   
    sendtoCOM(in_num);

    for(tmp=0;tmp<50;tmp++)
        delay20ms();

    sendtoCOM("\"\r");

    for(tmp=0;tmp<50;tmp++)
        delay20ms();

        sendtoCOM(message);
      
    for(tmp=0;tmp<50;tmp++)
        delay20ms();

    sendtoCOM(ctrlz);

    for(tmp=0;tmp<50;tmp++)
        delay20ms();
       
}
void makecall()
 {
  
   sendtoCOM(atd);
       for(tmp=0;tmp<50;tmp++)
        delay20ms();
 }

void delay20ms()
{
unsigned int i;
for(i=1;i<5117;i++);
}

void crazyangle()
{
  int x;
  x=(value-115)+3;
  lcdcmd(0x80);
  delay(10);
  convert(x);
 
}



      This code is now capable of detecting accident and for security and for one crazy extra activity of measuring the angle with respect to ground when we are travelling ..