Friday, March 25, 2011

How to calculate PWM Period for PIC24

TUTURIAL FOR PIC24 Microcontroller

Okay.. this 4ns ( nano second / 1 X 10^-9) is really made my day.

It seem the timer make sense when multiply with 4ns.


At first, i tried to calculate Pulse-Width modulation Mode (PWM) for the timer1 of PIC24 but the period time is make no sense as i got 140us.


Coding to set your timer and interrupt :
********************************************************

_T1IP=4; //  set timer1 priority (4=dafault)
TMR1=0; //clear the time
PR1=34; //set the period register
T1CON=0x8020;  //check T1CON register (Prescale set to 1:64)
_T1IF=0; //clear interrupt flag
_T1IE=1;  //enable T1 interrupt source
********************************************************

StOp & Stare

This town is colder now, I think it's sick of us
It's time to make our move, I'm shaking off the rust
I've got my heart set on anywhere but here
I'm staring down myself, counting up the years
Steady hands, just take the wheel...
And every glance is killing me
Time to make one last appeal... for the life I lead

Sunday, March 20, 2011

Awan Nano~

Indahnya Ciptaan Allah S.W.T
Published with Blogger-droid v1.6.7

Saturday, March 19, 2011

Talking to the Moon






I know you're somewhere out there
Somewhere far away
I want you back
I want you back
My neighbors think
I'm crazy
But they don't understand
You're all I have
You're all I have

Wednesday, March 16, 2011

Ad : Get freebies with every reload by DIGISuperReload!

All Digi User , do you want to grab any freebies??

Great news for you to get freebies. See link below for extra information on how to get freebies from DIGI


^.^



All good things do come to an end, but not for me cause I'm grabbing the freebies with every reload by #DiGiSuperReload.

Thursday, March 10, 2011

QR Code~

Do you know how to generate QR code?

Okay, I need to explain what is QR code. QR code is like a bar code but it can store a lots of data such as phone number, URL , text and etc. It can make your life easy for making tag or sharing information by scanning the QR code.

Here is the example of QR code :
qrcode


Can you guess what i'm trying to let you know?

Those who has barcode scanner apps in ur phone , can scan it and see what the message.

Go here to generate your own QR code.

Enjoy the beauty of technology.


P/s : Maybe and maybe......






Sunday, March 6, 2011

Glances at Microsoft Innovation Day ~

It has been a week since i went to the Microsoft Innovation Day , yet I haven't update bout it. The innovation day are more on explaining how the Microsoft is doing for their Window Phone 7 (WP7) product together with the cloud system, Window Azure. They wanted to be successful as iPhone and also Android in mobile field.