Tuesday, June 28, 2011

CyanogenMod-7.1.0-RC1

Wow... it is already CM7.1 RC1.

Although it is still RC1 , but we can test the performance.

This version is an update to Android 2.3.4, includes many new features, and brings support to several new devices. We are now supporting various Samsung devices (Galaxy S, Captivate, and Vibrant), the LG Optimus 2X (p990) /T-Mobile G2x (p999), HTC Incredible S (vivo), and Motorola CLIQ/CLIQ XT

Here the changelog of the CM7.1 RC1

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