CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

33EV256GM106 with rs232(ICD) problem

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
MCUprogrammer



Joined: 08 Sep 2020
Posts: 221

View user's profile Send private message

33EV256GM106 with rs232(ICD) problem
PostPosted: Mon Dec 12, 2022 5:31 am     Reply with quote

Hello
I am trying to make serial communication with #use rs232(ICD) code. I want to print hello very simply. but it is not working. where is the error?
kit i have
https://www.microchip.com/en-us/development-tool/dm330018
Code:

#include <33EV256GM106.h>
#device ADC=8

#use delay(internal=140MHz)
#use rs232(icd)

void main()
{
   

   while(TRUE)
   {
     printf("HELLO");
     
     
   }

}

_________________
Best Regards...
MCUprogrammer
_______________________________
Work Hard
Ttelmah



Joined: 11 Mar 2010
Posts: 19540

View user's profile Send private message

PostPosted: Mon Dec 12, 2022 6:42 am     Reply with quote

Look at this:
[url]
https://www.ccsinfo.com/forum/viewtopic.php?p=225368
[/url]

Note the need to actually specify the pins.
MCUprogrammer



Joined: 08 Sep 2020
Posts: 221

View user's profile Send private message

PostPosted: Mon Dec 12, 2022 6:46 am     Reply with quote

thanks....
_________________
Best Regards...
MCUprogrammer
_______________________________
Work Hard
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group