dspic not working on breadboard

General discussion on mikroC for dsPIC30/33 and PIC24.
Post Reply
Author
Message
pravvish
Posts: 3
Joined: 03 Jan 2009 14:11

dspic not working on breadboard

#1 Post by pravvish » 21 Mar 2009 15:34

i am in serious trouble . i use easydspic 4 development board for designing circuits. i compile and run it on the board . after that when i use the same chi and same circuit diagram and wire it on a bread board ,i dont get any output . why is this so??javascript:emoticon(':(')javascript:emoticon(':(')
I HAVE ATTACHED BELOW A SIMPLE CODE THAT I USED TO CHECK THE MICROCONTROLLER ON THE BREADBOARD .I AM SURE THE WIRING IS CORRECT > BUT I DONT GET THE OUTPUT . WHAT CAN BE THE REASON??? AND WHAT ALL CONFIGURATIONS BITS SHOULD I MARK?? DOES IT HAVE ANY EFFECT ON THE OUTPUT?? I MEAN IF THEY ARE NOT SELECTED??

Code: Select all

char txt[6] = "mikro";

void main() {
  //--- PORTB - all digital
  ADPCFG = 0xFFFF;
  PORTF = 0x0000;

  //Lcd_Custom_Init_EasyDsPIC4();
  Lcd_Custom_Config(&PORTF, 3,2,1,0, &PORTF, 4,6,5);
  Lcd_Custom_Out(1,3, txt);
  Lcd_Custom_Out(2,6, txt);

}//~
THIS IS A BIT URGENT FOR ME .. PLEASE I REQUEST YOUR ASSISTANCE.
I ALSO WOULD LIKE TO KNOW WHAT OTHER THINGS I SHOULD DO TO GET THE OUTPUT ON A BREAD BOARD.

goran.marinkovic
mikroElektronika team
Posts: 265
Joined: 25 Nov 2008 09:09

#2 Post by goran.marinkovic » 01 Apr 2009 14:17

Hi,

I believe that my colleague Dane is already answered you on our Support Desk.
This is the link below:
http://www.mikroe.com/en/support/intera ... inter=3027

Regards

Post Reply

Return to “mikroC for dsPIC30/33 and PIC24 General”