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 support@ccsinfo.com

config of HC-SR04 with PIC18F4550 [Solved]
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
doguhanpala



Joined: 05 Oct 2016
Posts: 120

View user's profile Send private message

PostPosted: Wed Jul 10, 2019 7:22 am     Reply with quote

gaugeguy wrote:
That is done with a fuse setting. Check the fuses in the pic header file.
CCP2B3 or CCP2C1


hello gaugeguy,

Thank you for your answer. I have used the CCP2B3 and it worked. There are some calculation errors on my code and i will work on them. Thank you so much!
dluu13



Joined: 28 Sep 2018
Posts: 395
Location: Toronto, ON

View user's profile Send private message Visit poster's website

PostPosted: Wed Jul 10, 2019 12:16 pm     Reply with quote

lozi_dani wrote:
No, I didn't do that, This afternoon (here in Spain we are in the morning hehe), I will go to the University and will try that. When I have checked, I will post here if the sensor is damaged or not.

I have not that MAX232, I suppose I will have to buy it. I'm going to ask my proffesor if he has one of that.

I write again in a few hours! Very Happy


Instead of the MAX232, I would just go for something like the FT232RL on a breakout board. On the PC side, it plugs into USB rather than the serial port.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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