Need help to converting a mikro code to MPlab with Compilr C30

Status
Not open for further replies.

ings

Member level 4
Joined
Sep 8, 2014
Messages
78
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
988
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
 

Attachments

  • PIC18F452 LCD.rar
    113.7 KB · Views: 54

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.
 

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

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
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…