+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Member level 4
    Points: 1,024, Level: 7

    Join Date
    Sep 2014
    Posts
    78
    Helped
    0 / 0
    Points
    1,024
    Level
    7

    how to convert mikroc code to a mplab c30 to display in lcd

    Hello i would like to convert a mikro code to MPlab with Compilr C30 that display a parameter in a LCD with the pic24f
    This is a project in MikroC that works with pic18f.
    please help me
    thanks in advace

    •   AltAdvertisment

        
       

  2. #2
    Banned
    Points: 12,436, Level: 26

    Join Date
    Apr 2013
    Posts
    2,528
    Helped
    538 / 538
    Points
    12,436
    Level
    26

    Re: how to convert mikroc code to a mplab c30 to display in lcd

    Which MCU are you using and what clock are you using ? Post your circuit. Mention the connections between MCU and LCD.



    •   AltAdvertisment

        
       

  3. #3
    Member level 4
    Points: 1,024, Level: 7

    Join Date
    Sep 2014
    Posts
    78
    Helped
    0 / 0
    Points
    1,024
    Level
    7

    Re: how to convert mikroc code to a mplab c30 to display in lcd

    i would lke to use pic24fj256ga110 and LCD : LM044L and the connections is lke this figure
    Click image for larger version. 

Name:	circuit_lcd.png 
Views:	4 
Size:	90.3 KB 
ID:	110625
    My pameter of the clock are
    Code:
    #define Fosc		8000000
    #define Fcy			(Fosc/2)
    #define Fs   		4000
    #define SAMPPRD		(Fcy/Fs)-1
    
    // JTAG/Code Protect/Write Protect/Clip-on Emulation mode
    //Watchdog Timer/ICD pins select
    _CONFIG1(JTAGEN_OFF & GCP_OFF & GWRP_OFF & COE_OFF & FWDTEN_OFF & ICS_PGx2) 
    // Disable CLK switch and CLK monitor, OSCO or Fosc/2, HS oscillator,
    // Primary oscillator
    _CONFIG2(FCKSM_CSDCMD & OSCIOFNC_OFF & POSCMOD_XT & FNOSC_PRI)
    thanks in advance



--[[ ]]--