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
Every one do carry some special cause which will enthrall others. And life is all about revealing the next ,,, I say whats next . And the best part is that there is no answer for this question And this is the one thing which will make humans live on this earth
Tuesday, October 19, 2010
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
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.
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 .
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
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 ..
//------------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 ..
Sunday, April 25, 2010
Program for accelerometer
#include
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
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);
sbit rf1=P0^4;
sbit rf2=P0^5;
sbit rf3=P0^6;
sbit rf4=P0^7; // for rf using only 3 swithches
sbit alr1=P3^6; // alarm if the bike falls left
sbit alr2=P3^7; // alarm if the bike falls right
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("BANG BANG ");
delay(10); // 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(check==20)
{
if(value>120)
{
lcdcmd(0xC0);
delay(10);
lcddisp("BIKE STOLEN ");
delay(10);
}
else if(value<109)
{
lcdcmd(0xC0);
delay(10);
lcddisp("BIKE PADINDHI RA ");
delay(10);
}
else
{
lcdcmd(0xC0);
delay(10);
lcddisp("SECURE ");
delay(10);
}
}
if(check==30)
{
if(value>155)
{
alr1=1;
lcdcmd(0xC0);
delay(10);
lcddisp("FALLEN RIGHT ");
delay(10);
}
else if(value<115)
{
alr2=1;
lcdcmd(0xC0);
delay(10);
lcddisp("FALLEN LEFT ");
delay(10);
}
else
{
lcdcmd(0xC0);
delay(10);
lcddisp("NORMAL POSITION ");
delay(10);
alr1=0;
alr2=0;
}
}
if(check==40)
{
lcdcmd(0xC0);
delay(10);
lcddisp("IDLE MODE ");
delay(10);
}
}
}
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++;
}
}
this code is not the complete one for my project but this can display about the bike condition on the lcd screen few more changes are to be presented in my next post.
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
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);
sbit rf1=P0^4;
sbit rf2=P0^5;
sbit rf3=P0^6;
sbit rf4=P0^7; // for rf using only 3 swithches
sbit alr1=P3^6; // alarm if the bike falls left
sbit alr2=P3^7; // alarm if the bike falls right
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("BANG BANG ");
delay(10); // 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(check==20)
{
if(value>120)
{
lcdcmd(0xC0);
delay(10);
lcddisp("BIKE STOLEN ");
delay(10);
}
else if(value<109)
{
lcdcmd(0xC0);
delay(10);
lcddisp("BIKE PADINDHI RA ");
delay(10);
}
else
{
lcdcmd(0xC0);
delay(10);
lcddisp("SECURE ");
delay(10);
}
}
if(check==30)
{
if(value>155)
{
alr1=1;
lcdcmd(0xC0);
delay(10);
lcddisp("FALLEN RIGHT ");
delay(10);
}
else if(value<115)
{
alr2=1;
lcdcmd(0xC0);
delay(10);
lcddisp("FALLEN LEFT ");
delay(10);
}
else
{
lcdcmd(0xC0);
delay(10);
lcddisp("NORMAL POSITION ");
delay(10);
alr1=0;
alr2=0;
}
}
if(check==40)
{
lcdcmd(0xC0);
delay(10);
lcddisp("IDLE MODE ");
delay(10);
}
}
}
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++;
}
}
this code is not the complete one for my project but this can display about the bike condition on the lcd screen few more changes are to be presented in my next post.
Saturday, April 24, 2010
My project about to end
Its been a long long time since i wrote a blog . hmmm yes i am certainly busy with project. There are many things which i shd share firstly i shd share the problems that i had. First and the foremost is the problem due to loose connection about 2 days got wasted first was the loose connection was with whole circuit. I got the accelerometre output on lcd screen in my home but problem is that when i tried to show that to kotesh sir i could get it. I tried it for the whole day and still not good enuf at the end of the day when i tried to bend the circuit i found the output that was a big joke becoz on the whole day i couldn find the idea to do that more over lcd is showing some number that is 255 constantly which is actually misleading me .
Next problem was with rf previously i along with pragna done the rf module but i changed the ic this time i am using ht12d and e. And guess what i spent the whole day to get the link established that is vt of decoder but couldn do that even kotesh sir dont know this so he got that kit which he brought it frm outside and started comparing constantly at the end of the day the faculty who got all those kits came to us when kotesh sir asked him to check out the problem . he just came in and pressed the rf receiver inside and every thing started working well. Bull shit we wasted almost a day for this rit now i am doing with my accelerometer to get conformed when the bike fells down . It is on its way. I will try to complete by tomorrow
Next problem was with rf previously i along with pragna done the rf module but i changed the ic this time i am using ht12d and e. And guess what i spent the whole day to get the link established that is vt of decoder but couldn do that even kotesh sir dont know this so he got that kit which he brought it frm outside and started comparing constantly at the end of the day the faculty who got all those kits came to us when kotesh sir asked him to check out the problem . he just came in and pressed the rf receiver inside and every thing started working well. Bull shit we wasted almost a day for this rit now i am doing with my accelerometer to get conformed when the bike fells down . It is on its way. I will try to complete by tomorrow
Tuesday, March 16, 2010
Runnn
Yes run as much as u can , as long as u can, with as much of fire as u have, taking all the support u have, That is what life is been teaching me since my child hood. What is this crap called burning desire it is crap for me because i am totally mistaken or mislead regarding the exact theme what burning desire is all about. Its been common thing happening to me , dreaming high and not working enough . This has been a regular comment that i make it for myself almost tired of doing this . Let me try to open myself surely i had ego . Yes its the ego which asks me why not u. Yes that ego well question me don't u have that capacity . Yes that ego lures me about the sweet taste of heights which can be felt after u reach your goal . That ego which will make my mother feel proud that finally my son is an achiever too. Yes that ego is good for me because it implants confidence in me.
Yup your failure or lagging will try to portray ur mistakes that u tend to commit because u only look at ur mistakes when u fail. Why shouldn't i look at my positives . It gets even difficult to recognize a positive thing when u fail it will be equally close to negative thing . And after all besides this recognition . Its also how u pretend and how u display ur self is equally important because its that ur whole physical body shows ur presence . And not but not the least ur words make impact too. I am down under for now , I am not making the most of things i had with for now . but this cant be guaranteed . Definitely i ll bounce back one day .. But i pray god that still even will persist with the same meaning of ego which i know right now...
Venting out some emotions , coz these blogs are more than inspiration for me so i share ,i learn ...............
Yup your failure or lagging will try to portray ur mistakes that u tend to commit because u only look at ur mistakes when u fail. Why shouldn't i look at my positives . It gets even difficult to recognize a positive thing when u fail it will be equally close to negative thing . And after all besides this recognition . Its also how u pretend and how u display ur self is equally important because its that ur whole physical body shows ur presence . And not but not the least ur words make impact too. I am down under for now , I am not making the most of things i had with for now . but this cant be guaranteed . Definitely i ll bounce back one day .. But i pray god that still even will persist with the same meaning of ego which i know right now...
Venting out some emotions , coz these blogs are more than inspiration for me so i share ,i learn ...............
Wednesday, March 3, 2010
I lost my pocket guide
This might be a strange heading to start with yesterday i lost my phone Nokia 3110c . Hmmm my phone is more that something which is help ful in keeping in touch with my friends. It has helped me in a lot of ways i bought it during early in my second year of b.tech . I loved it a lot despite of some problems . I ll try to ameliorate the way i lost my phone it was bizzaring one for me . I am writing my first internal of last semister of my engineering and i had two exams yesterday and it was during the second exam time was around 3.30 . After completion of the theory exam we were waiting for the objective type and suddenly Madhu my dearest friend started playing holi with my class mates and this Balakrishna sir (examination incharge ) . Came there running with objective papers in his hands and we rushed into class so as to complete the exam . Madu came to exam hall with the same hands and that was totally filled with colors he couldn catch the paper with his hand so he is trying to remove his cell phone in hes pocket to use as paper weight , and i just took my phone and i placed on his paper . I never thought that it is going to be the last time that i will touch my phone . Madhu in a mood to celebrate he went out as soon as he completed his and myself as if i am writing my exam superbly i was trying to attemt all the questions and forgot about my phone . I came out of the examination hall and i realized that my phone is not in my pocket immediately i asked madhu and he was too busy at that time . Initially i was not tense because i thought all the guys who are in the exam hall are my class mates and can be trusted enough . And guess what i am trying to call my phone answer is switched off. As i activated the call divert option ,message was not exactly Switched off . This is the last thing that can happen to me to loose the entire trust that i paid on my friends . Every one started to rush to their home .
I have to pity myself that other that the lecturer i had no one to suspect. Definately its totally absurd if some one of my class are the thiefs . Because i never had any tiffs with any of my class mates. Its been a long time since i lost anything other that a pen or a pensil . And this loss is hurting me alot because my cell phone has helped me a lot in learning english coz for every now and then i use to check out my english meanings . I mean i had english dictionary installed in it .................... GOD
I have to pity myself that other that the lecturer i had no one to suspect. Definately its totally absurd if some one of my class are the thiefs . Because i never had any tiffs with any of my class mates. Its been a long time since i lost anything other that a pen or a pensil . And this loss is hurting me alot because my cell phone has helped me a lot in learning english coz for every now and then i use to check out my english meanings . I mean i had english dictionary installed in it .................... GOD
Tuesday, February 23, 2010
Two hectic days
Its been a long time since i wrote a blog hmm this time i would like to vent of myself i had two good days i hopefully and confidentially guess . First day i would like to describe is about the seminar organized by T.I.M.E on 21 feb. This seminar was regarding Macro Economics . I can say this is really good seminar infact best seminar i have ever listened to , and coz seminar was held at A.P.S.R.T.C. kalabhavan and all the students of T.I.M.E of twin cities attended the seminar and believe me hall was really full and to my good ness the stage was occupied by only one person and he stood in the same position till he complete his lecture from 9.00 am to 2.00 pm . Coming to about the seminar he started off differentiating what is macro economics and what is micro economics and as the seminar itself is titled with Macro he slipped of micro economics sagaciously and as of macro economics he said that macro economics is linking every thing..
Traditionally he started his jargon from past and this is nontraditional because i liked it as expected he started explaining about monopoly and guess what he mentioned this word almost when he was about to end the lecture regarding past. He started of directly saying that people in the past exactly speaking economist in the past advised every one to produce goods as much as they can . And the moment he said this it was like a big surprise for me later on he tried to convince that there were no companies in those days and change over between demand and supply is really high . And then he continued saying that this is what we say monopoly and then he told about classical laws for macro economics . These are something which we can find in academic books then he explained about kaynes laws , this was something strange because he explained the situation clearly saying that U.S had really bad time during early 1960's and they couldn't find way out and then they asked this guy . Guess what was his answer creating opportunities is important so he advised almost a weird thing he asked govt to give employment to every one in the country by asking them to just dug trench and fill up that trench next day . So finally as they get the money for their work they spend it for several reasons and finally money is getting distributed and trading started . This way U.S managed to come out of the situation .
Hmmm this is a long lecture and i will continue this in my next blog
Traditionally he started his jargon from past and this is nontraditional because i liked it as expected he started explaining about monopoly and guess what he mentioned this word almost when he was about to end the lecture regarding past. He started of directly saying that people in the past exactly speaking economist in the past advised every one to produce goods as much as they can . And the moment he said this it was like a big surprise for me later on he tried to convince that there were no companies in those days and change over between demand and supply is really high . And then he continued saying that this is what we say monopoly and then he told about classical laws for macro economics . These are something which we can find in academic books then he explained about kaynes laws , this was something strange because he explained the situation clearly saying that U.S had really bad time during early 1960's and they couldn't find way out and then they asked this guy . Guess what was his answer creating opportunities is important so he advised almost a weird thing he asked govt to give employment to every one in the country by asking them to just dug trench and fill up that trench next day . So finally as they get the money for their work they spend it for several reasons and finally money is getting distributed and trading started . This way U.S managed to come out of the situation .
Hmmm this is a long lecture and i will continue this in my next blog
Saturday, February 13, 2010
Being a BUISINESS men
This blog of mine is going to certainly different from that of my earlier.. Cool coming to case of what i am intended it , There are few thing buzzing around past two days were about ipl matches being shifted off from hyd and the bla bla bal regarding MNIK..
Firstly coming from northern part of India MNIK stir in mumbai has certainly created big news for media. The reactions from Mr SRK are certainly expected because he is involved in business and advertising is heart of this..It will be my foolishness if i say that just because of advertising srk entered into verbal fight with MNS but i strongly feel that besides uplifting his inner views its also a chance for him to advertise his film. So why shouldn't i think this way srk is desperately trying to show his resilliance and this his given him a bumper chance and not just that this is also giving a great deal of advertaising for his film . Because a film which is expected for entertainment actually caught attention of government and guess what home minister of mumbai is shocased on the main paper of hindu today showing the ticket he got for the film , I was shocked because only occasion this pose might be during elections which will urge for peoples attention to vote. And other silly thing is that people of mumbai are showcassing their passion in watching film which they almost feel like patriotism..
Coming to the second case shift of ipl matches from ANDHRA PRADESH . Mr Lalit Modi is well known as a business man and he has done his job . I can remind a saying "Every thing is fair in Business and Love". He first shifted opening ceremony from hyderabad to mumbai showing the proof of agitations going around then he shifted all the matches from hyderabad to nagpur. Ofcoarse unofficial information say that Sasank manohar is responsible in influencing Mr .Modi.. What ever it be as a hyderabadi , I will surely agree that there are agitations going around here but not that high so that these matches has to be shifted. Because its not just the loss of money for DC team and HCA but the sheer respect. If this happens it becomes difficult for upcoming metropolitan city like Hyderabad .Its open fact that south indian states are overlooked but disrespecting this way is really absurd because CM of our state himself came into picture for requesting about the matches ... And other fact is that Convenor of JAC(Telengana) Prof.Kodandaram himself gave a written confession that they would not create any problem for ipl matches but still governing counsil of IPL is reluctant ..And they are ready to organize matches in Mumbai where Mr rajthakrey openly declared that australians will not be allowed into maharashtra including cricketers
MR MODI its not just business but values also matter............
Firstly coming from northern part of India MNIK stir in mumbai has certainly created big news for media. The reactions from Mr SRK are certainly expected because he is involved in business and advertising is heart of this..It will be my foolishness if i say that just because of advertising srk entered into verbal fight with MNS but i strongly feel that besides uplifting his inner views its also a chance for him to advertise his film. So why shouldn't i think this way srk is desperately trying to show his resilliance and this his given him a bumper chance and not just that this is also giving a great deal of advertaising for his film . Because a film which is expected for entertainment actually caught attention of government and guess what home minister of mumbai is shocased on the main paper of hindu today showing the ticket he got for the film , I was shocked because only occasion this pose might be during elections which will urge for peoples attention to vote. And other silly thing is that people of mumbai are showcassing their passion in watching film which they almost feel like patriotism..
Coming to the second case shift of ipl matches from ANDHRA PRADESH . Mr Lalit Modi is well known as a business man and he has done his job . I can remind a saying "Every thing is fair in Business and Love". He first shifted opening ceremony from hyderabad to mumbai showing the proof of agitations going around then he shifted all the matches from hyderabad to nagpur. Ofcoarse unofficial information say that Sasank manohar is responsible in influencing Mr .Modi.. What ever it be as a hyderabadi , I will surely agree that there are agitations going around here but not that high so that these matches has to be shifted. Because its not just the loss of money for DC team and HCA but the sheer respect. If this happens it becomes difficult for upcoming metropolitan city like Hyderabad .Its open fact that south indian states are overlooked but disrespecting this way is really absurd because CM of our state himself came into picture for requesting about the matches ... And other fact is that Convenor of JAC(Telengana) Prof.Kodandaram himself gave a written confession that they would not create any problem for ipl matches but still governing counsil of IPL is reluctant ..And they are ready to organize matches in Mumbai where Mr rajthakrey openly declared that australians will not be allowed into maharashtra including cricketers
MR MODI its not just business but values also matter............
Sunday, February 7, 2010
Cross Bar Switching
Hmmm This is my first technical blog. this is neither a different topic nor innovative this is some thing which was done before but i still feel that i have done this putting my 100 per efforts .......... Cool coming to the topic i started doing this project as one of my friend wants to control 20 odd switches with a minimum of pins used so i opted for this cross bar switching......
Technically there are two ways of solving this problem but practically when situations like responding only when the switch is pressed , arises it becomes difficult ......In such cases constant scanning of either rows or columns is desired..
I had this problem solved with a small technique firstly i ll consider all my columns to be initially in high state and then i ll try to trace the switch such that i ll have this infinite loop which makes the row high every time and checks if there is any change in the column because if the key in corresponding row which is made low is pressed then corresponding column gets low Like wise to satisfy the condition of responding only when the key is pressed a while loop is again used ................... Program looks as follows
row1=P3^1;
row2=P3^2;
row3=P3^3;
col1=P1^1;
col2=P1^2;
col3=P1^3;
main()
{
row1=0;
while(row1=0)
{
while(row1==0&&col1==0)
P2=90;
while(row1==0&&col2==0)
P2=91;
while(row1==0&&col3==0)
P2=92;
}
row2=0;
while(row2=0)
{
while(row2==0&&col1==0)
P2=93;
while(row2==0&&col2==0)
P2=94;
while(row2==0&&col3==0)
P2=95;
}
}
This looks pretty easy but it took almost 4 days to get the exact output.
I had almost 3 algorithms but i found this to be easier not just to understand but for the sake of execution too..........
Tilak
}
Technically there are two ways of solving this problem but practically when situations like responding only when the switch is pressed , arises it becomes difficult ......In such cases constant scanning of either rows or columns is desired..
I had this problem solved with a small technique firstly i ll consider all my columns to be initially in high state and then i ll try to trace the switch such that i ll have this infinite loop which makes the row high every time and checks if there is any change in the column because if the key in corresponding row which is made low is pressed then corresponding column gets low Like wise to satisfy the condition of responding only when the key is pressed a while loop is again used ................... Program looks as follows
row1=P3^1;
row2=P3^2;
row3=P3^3;
col1=P1^1;
col2=P1^2;
col3=P1^3;
main()
{
row1=0;
while(row1=0)
{
while(row1==0&&col1==0)
P2=90;
while(row1==0&&col2==0)
P2=91;
while(row1==0&&col3==0)
P2=92;
}
row2=0;
while(row2=0)
{
while(row2==0&&col1==0)
P2=93;
while(row2==0&&col2==0)
P2=94;
while(row2==0&&col3==0)
P2=95;
}
}
This looks pretty easy but it took almost 4 days to get the exact output.
I had almost 3 algorithms but i found this to be easier not just to understand but for the sake of execution too..........
Tilak
}
Tuesday, February 2, 2010
Revealing Actor In ONe
Since 2 days there is buzz around about the burder of young girl Vaishnavi. She looked pretty. She dead just because of the degradation of the human values . Killer responseble in her death was actually blood related to the vitim in an illegal way. Frankly speaking i am not aware of the whole story . But i am qoting this to my knowledge.. Coming to the poing , I started of my post as buzz around, it should not be the article like this should be started but that the reality in man or let me take it as me. I am sending my condolence for her. But in reality that case has nothing to do more than condolence. What i want to exhibit in this blog is the hype that is created by media. Will there be justice for the victim by killing person who killed her? .........
I am not suppose to talk about the murder its not just i am an engineer but also i am poor at knowing the sections as per indian peanal court. But to the extend of philosopy what i think is that these are the situations where ,when they are displayed , they will ask for or drag grief that is there in the humans. If situations like this occur reacting and sending the condolence or to some extent doing the help that is there with in you is good enoungh and adorable . But how good is that to display the grief as if the victim is u best friend or person belonging to ur family . It is not the cruel comment but its the ralit which has to realized. I could see people of my family dwelling on her death its almost like ridiculous for me . I think this is the time where the fine actor in all of us come out . Because these type of situations will actually ask for such things and as part of the big phrase HUMANITY this come out , which actually not humanity. If u can go help the needy or else do the things which u ought to do. After the invasion of electronic media into the lifes of human lifes these things are creating a lot of importance , But for me i think its not good , ofcource media has lot of things to do , but they are doing more than things which they are ought to do. As a result here we are sitting in hyderabad an thinking about the things hapenning about 300 km away with no relation to either victim either personally or in the common sense.
After all they it obvious that u cant expect every one to think the way i am expecting , it will be harsh if i say this. What i end up saying is that do the things which we are suppose to do and showing a bit humanity along is good enough , I can say more than good enough because
IT IS EASY TO COMMENT OR ADVICE BUT IT IS REALLY HARD TO PRACTICE
TILAK........
Saturday, January 30, 2010
RESurgence
My first blog was reagarding the frustration i had regarding my project . But i forgot to mention a point of resurgence. Its an obvioius thing that when u are forced to do something which u dont like u tend to abstain times revolt , i said its obvious because even animals like cat do acquire this quality but how about humans . To some extend resisting oneself is good , infact it is adviced but is this should followed by every one . I can say that if gandhi is famous in his way equally Bhagat singh. Their ways of going against might be different but they had this idea clear U got to fight against odds. How many people will possess this quality , frankly speaking not many because you can't expect every one to have this . Then how can this problem of figting against be solved here comes the topic of leader. A strong leader who is not just good enough in influencing the people but should show his virtuso and bravery when needed.
Straightly coming to the point most of the students are concerned about their marks , He should be.... but howfar is the practice " lecturers blackmailing students is correct". This is an open secret ,this happens even in iit's or smallest engineering colleges of road side. This sort of thing is something i can say advicable in some cases but lecturers has to understand that this should not be used in a wrong way to satisfy their ego what ever it be. Because students of youger age specially round about teenage do possess immence confidence and attitude so they tend to revolt for every thing so many universities give this option for " giving marks for conduct " . If things are going wrong its upto students who has to revolt if they still get feared of marks or what ever it be it finally ends up to be student ruining his/her own career. As i mentioned earlier it happens naturally that every student possesing such quality is not usual, so atleast they have to support the other guys who stand front to fight against . If he couldn do this he is not more than a robot.. Fact is that lecturers and parents are to be considered as demi gods as per hindu ethics . I will totally agree with the ethics.. But what my question is that they are humans too , they can commit mistake too.
After all the whole bla bla bla i vented out may be right or may not be but acting wise is some thing compulsary because world around is about how u manage ...
Thursday, January 28, 2010
Winning over Yesterday
Its been a long time since i tasted something called success. What is success every one has their own definitions for success it might reaching a goal already set, or winning over others ,trying to stand up to the standard that was set. I have been all these type of success but frankly speaking i never found that real happiness in those things.. Something which i thought is real success is winning over yesterday. If i could satisfy with things or the improvement to that of previous day ..
This is surely something ridiculous because this is practically not possible but what i think is that, all the happiness we find with those i mentioned above are like instantaneous they last for some time , But i am in the search of real happiness which can long forever. In fact comparing today with yesterday is not exactly the theme what i exactly wanted to say but about the happiness we get when we work . The more u work more the happiness u get. Many great people say that love the work u are doing .It should not be hard work it should be loved work . Definitely if we do something with deep love and belief surely it ll work ..
Reaching goal is not at all a task in that case.
Wednesday, January 27, 2010
Motivation
The whole day i just wasted that is what my opinion. i should study for my exam but couldn make up my mind atleast to reach books. what is the problem with me , i find myself that i need some sort of motivation,what is motivation , ridiculous is it not silly to wait for some one to say that you should do ur work . When i am waiting for others to motivate me its like i am robot or something else waithin for getting recharged. The only thing needed is that i should do the things that i am suppose to do , since yesterday i started to write down the prime work that i should do and i could find only 2 to 3 not more than that . If at all i couldn manage to complete those works where am i heading to .
Waiting for some one to instigate you to do something is not possible all the time . There is a saying in TELUGU " ADAGANIDE AMMAINA ANNAM PETTADU" its says that even ur mom will not give you food untill u ask her . If this is the case with my mom what the hell others can do ..... Definately i may end up my post today in a negative sense difinately my next post will be whoosing with confidence. Its just that work i do will boost my confidence..
love
tilak
Waiting for some one to instigate you to do something is not possible all the time . There is a saying in TELUGU " ADAGANIDE AMMAINA ANNAM PETTADU" its says that even ur mom will not give you food untill u ask her . If this is the case with my mom what the hell others can do ..... Definately i may end up my post today in a negative sense difinately my next post will be whoosing with confidence. Its just that work i do will boost my confidence..
love
tilak
Tuesday, January 26, 2010
INsight
REPUBLIC DAY,as long as people in india recognize this day to be more than just a holiday, thank to god. Frankly speaking not many people know why is republic day special every one has their own reasons for celebrating this day . It is not just a comment but i had every rason for telling this because early in the morning when i wake up frm my bed i could hear these patriotic songs . One of my neighbor he is planning to catch the attention of the area corporator and also people around here for his career in politics. He got the bumper chance to exhibit, kids of my tenant are eagerly going to school unlike every day just for the reason because they dont have to carry a big heavy so called education on their back and most importantly they will be awarded with choclates besides the corporeal punishments . And this list will go on as i intrude into every one's life .. Frankly i dont wanna say that people are missing out patriotism or something ,if i say that i should be a big jerk. What i mean is that its not the great patriotism a country will ask u its the small help that u extend to the needy when u are in a stage of doing that ... we are humans try not to destroy humanity in us..............
JAI HIND
JAI HIND
Monday, January 25, 2010
My project
This might be an awkward way of starting my blog but i should do this because its almost great grief coming from my bottom of my heart . With a lot of hopes and deep interest i started my final sem of my b.tech . What not i started searching many things to make my project to be a memorable one for my rest of life. Suddenly everything were crushed because of my hod .He is a big jerk i have ever seen , this expression is just something like comment ,i had every reason for saying this because when me along with my classmates started to request him that we wanted to do our projects in an other institute that we thought is good enough , As a grown up guy i tried to understand my self that my hod might be right ,not just that he is hod he is elder to me but these answers are not restricting me to think against him. Because i faced all those hell problems in the institute which is suggesting sorry i should say forcing to join even after explaing them clearly i couldn make him convinced. Its almost like i lost patience at one point of time ,but still i have to stand up not just because for marks but for telling myself that its a subtle thing called life ,which looks alluring ,but actually not in reality
Subscribe to:
Posts (Atom)