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

Search found 11 matches
CCS Forum Index
Author Message
  Topic: LM35DZ Temperature Sensor
xbt87

Replies: 4
Views: 4351

PostForum: General CCS C Discussion   Posted: Wed Dec 19, 2007 12:49 am   Subject: LM35DZ Temperature Sensor
Thanks for the tips!
it's working now Smile
  Topic: LM35DZ Temperature Sensor
xbt87

Replies: 4
Views: 4351

PostForum: General CCS C Discussion   Posted: Mon Dec 17, 2007 11:05 pm   Subject: LM35DZ Temperature Sensor
Thanks! Smile

erm but another problem occured..
the hyperterminal is not showing anything. with this code



#include <16f887.h>
#fuses HS,NOWDT,NOPUT,NOPROTECT,NODEBUG,BROWNOUT,NOLVP,NOCP ...
  Topic: LM35DZ Temperature Sensor
xbt87

Replies: 4
Views: 4351

PostForum: General CCS C Discussion   Posted: Mon Dec 17, 2007 10:08 am   Subject: LM35DZ Temperature Sensor
i hope i could get some help here

#include <16f887.h>
#fuses HS,NOWDT,NOPUT,NOPROTECT,NODEBUG,BROWNOUT,NOLVP,NOCPD,NOWDT
#device adc=10
#use delay(clock=4000000)
#include "fl ...
  Topic: EXTERNAL LCD
xbt87

Replies: 15
Views: 15541

PostForum: General CCS C Discussion   Posted: Mon Dec 17, 2007 9:33 am   Subject: EXTERNAL LCD
Thanks for the help ;)
  Topic: EXTERNAL LCD
xbt87

Replies: 15
Views: 15541

PostForum: General CCS C Discussion   Posted: Mon Dec 17, 2007 3:15 am   Subject: EXTERNAL LCD
ok thanks Smile


i got another question to ask..

i can only set adc port to all analog but not others...

setup_adc_ports(all_analog);


example...
setup_adc_ports(RE0_RE1_ANA ...
  Topic: EXTERNAL LCD
xbt87

Replies: 15
Views: 15541

PostForum: General CCS C Discussion   Posted: Mon Dec 17, 2007 1:41 am   Subject: EXTERNAL LCD
just to check with you incase i make a mistake.


the vout of the lm35dz should be RE0
and ground should be RE1 right?




set_tris_e(0xff);

setup_adc_ports(all_analog) ...
  Topic: EXTERNAL LCD
xbt87

Replies: 15
Views: 15541

PostForum: General CCS C Discussion   Posted: Mon Dec 17, 2007 12:58 am   Subject: EXTERNAL LCD
Hi pcm programmer,

i tried and it kinnda dont work

i was wondering is the adc conversion went wrong?

because when i commented the adc part away, the lcd is working.

pls advice. thanks
  Topic: EXTERNAL LCD
xbt87

Replies: 15
Views: 15541

PostForum: General CCS C Discussion   Posted: Mon Dec 17, 2007 12:17 am   Subject: EXTERNAL LCD
Thanks PCM Programmer.

i ran into another problem thou.

#include <16f887.h>
#fuses HS,NOWDT,NOPUT,NOPROTECT,NODEBUG,BROWNOUT,NOLVP,NOCPD,NOWDT
#device adc=10
#use delay(clock=400000 ...
  Topic: EXTERNAL LCD
xbt87

Replies: 15
Views: 15541

PostForum: General CCS C Discussion   Posted: Sun Dec 09, 2007 11:47 am   Subject: EXTERNAL LCD
manufacturer : Microchip
name : 44-pin demo board
using PICkit 2
http://ww1.microchip.com/downloads/en/DeviceDoc/41296B.pdf

compiler ver : 4.020b
  Topic: EXTERNAL LCD
xbt87

Replies: 15
Views: 15541

PostForum: General CCS C Discussion   Posted: Sun Dec 09, 2007 11:06 am   Subject: EXTERNAL LCD
Hi there,

i tried the above method and it kinda have some problems.
Nothing is shown on the lcd.
i am not sure if it's the lcd or the demo board is faulty.
or something i have miss out.


i ...
  Topic: EXTERNAL LCD
xbt87

Replies: 15
Views: 15541

PostForum: General CCS C Discussion   Posted: Tue Dec 04, 2007 9:30 am   Subject: EXTERNAL LCD
oki thanks, i will try it out Smile thanks for the guide!
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group