Back from Sabatical

Your Ad Here

Okay… so finally some content. Yeah been busy lately (not really). So finally, I finished a few sections of the PIC24 Tutorial. More to come very soon. Hopefully I’ll finish a big portion of it by the end of the year, but no promises. Also I was at Ohiopyle Falls Fest in September. I’ll be sure to post a page for that in the near future.

PIC24 Tutorial

-J

This entry was posted in Electrical, Engineering. Bookmark the permalink.

3 Responses to Back from Sabatical

  1. ELCouz says:

    Nice website,

    I can’t wait to see your full tutorial ,,, i’m starting with the pic24 … pic24hj256gp610

    Have a nice day!

    ELCouz

  2. NAPSTER says:

    HI, REGARDING THE INTERNAL OSCILLATOR FRC. I AM USING IT W/O PLL/ OUTPUT DETECTED FROM THE OSC0 PIN. SHOULD I CONNECT IT TO THE OSCI PIN? IM JUST TRYING TO BLINK AND LED USING PIC24FJ48GA002. IF U HAVE TIME, CAN U EMAIL ME THE COMPLETE SYNTAX FOR THIS? PLEASE INCLUDE THE CONFIGURATIONS. THANK YOU VERY UCH. I REALLY DO APPREIATE YOUR WORK.

  3. NAPSTER says:

    hi. thank you for the tip. i finally got my mcu to blink a couple of led’s im trying different patterns. doing so got myself a new road block again. im using pic24fj48ga002. i happan to connect a led on ra3 and another led on ra2. ra3 by default is the osco pin. my problem is that the two leds wont blink. but when i tried to remove the led from ra3 sudenly the other led starts to blink. i also trie to prgram ra3 to simply have a low output. and yes blinking occured but when i set it to high blinking stops again and remains lit on ra2. so what do you think may have been the problem?

    #include
    #define DELAY 1000

    _CONFIG2( FNOSC_FRC & FCKSM_CSDCMD & POSCMOD_NONE &OSCIOFNC_ON);
    _CONFIG1( FWDTEN_OFF & GCP_OFF & JTAGEN_OFF );

    main()
    {
    TRISA = 0;
    OSCCON = 0X0000;// all PORTA pins output
    T1CON = 0X8030;
    INTCON1 = 0X8000;
    INTCON2 = 0X4000;
    CORCON = 0X0000;

    while(1)
    {
    LATAbits.LATA2 = 1;
    LATAbits.LATA3 = 0;
    TMR1 = 0;
    while(TMR1<DELAY)
    {
    }
    LATAbits.LATA2 = 0;
    LATAbits.LATA3 = 0;
    TMR1 = 0;
    while(TMR1<DELAY)
    {
    }
    }
    }

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>