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 17 matches
CCS Forum Index
Author Message
  Topic: A/D quick question
dbsjro

Replies: 12
Views: 14202

PostForum: General CCS C Discussion   Posted: Sun Oct 25, 2009 2:03 pm   Subject: A/D quick question
It doesn't support it.

Anyway my job is already done.
It was just a thought.

Thnx both Cool
  Topic: A/D quick question
dbsjro

Replies: 12
Views: 14202

PostForum: General CCS C Discussion   Posted: Sun Oct 25, 2009 1:48 pm   Subject: A/D quick question
I use 16f877
version 4.057

setup_adc_ports(AN0 | Vss_VREF);
Error 12......Udefined identifier Vss_VREF

I thing it just dosen't support it right?(The pic)
  Topic: A/D quick question
dbsjro

Replies: 12
Views: 14202

PostForum: General CCS C Discussion   Posted: Sun Oct 25, 2009 5:22 am   Subject: A/D quick question
vinniewryan I think you are wrong.
First Vref is for Vref- and the second for Vref+.

Ok I understand it now.
I use
setup_adc_ports(AN0_VREF_VREF);
But it shows an error when I change i ...
  Topic: A/D quick question
dbsjro

Replies: 12
Views: 14202

PostForum: General CCS C Discussion   Posted: Sat Oct 24, 2009 5:09 pm   Subject: A/D quick question
So when I use Vref_Vref what does that mean?
The first Vref is for VrefL and the second for VrefL?

And when I use Vref_Vdd
The first Vref is for VrefL and Vdd for VrefL?

Shocked Exclamation
  Topic: A/D quick question
dbsjro

Replies: 12
Views: 14202

PostForum: General CCS C Discussion   Posted: Sat Oct 24, 2009 5:38 am   Subject: A/D quick question
Hello
I've used Vref_vref at a voltmeter I made and I came up with one question.
What's the difference between:
Vref_vref
Vref_Vdd
Vref_Vss

Thnx
  Topic: how to fgets()
dbsjro

Replies: 23
Views: 33857

PostForum: General CCS C Discussion   Posted: Sat Sep 12, 2009 4:55 pm   Subject: how to fgets()
Of course I tried to understand how it works, as I could that is.

I did copy/paste the code you gave me in the input.c.
I still need enter despite the fact that I'm using get_new_string.


When ...
  Topic: how to fgets()
dbsjro

Replies: 23
Views: 33857

PostForum: General CCS C Discussion   Posted: Sat Sep 12, 2009 3:14 pm   Subject: how to fgets()
Yes but the thing is that I have no clue about how to make my pic read a string with get_string() without pressing Enter.

Don't know where to start from.
  Topic: how to fgets()
dbsjro

Replies: 23
Views: 33857

PostForum: General CCS C Discussion   Posted: Sat Sep 12, 2009 2:01 pm   Subject: how to fgets()
Thnx dyeatman for the ASCII Character chart, I now understand why we use \r\n.

But I use get_string not gets().

Since the purpose of this forum is not to write code but no help is provided on ho ...
  Topic: how to fgets()
dbsjro

Replies: 23
Views: 33857

PostForum: General CCS C Discussion   Posted: Sat Sep 12, 2009 1:04 pm   Subject: how to fgets()
You misunderstood me

I don't want this either. I search a lot before i post

That's why i asked for examples

The whole project is my idea and i m doing this alone, and when i stuck i m still a ...
  Topic: how to fgets()
dbsjro

Replies: 23
Views: 33857

PostForum: General CCS C Discussion   Posted: Sat Sep 12, 2009 12:39 pm   Subject: how to fgets()
i m lost again Shocked

Code and debug what?
  Topic: how to fgets()
dbsjro

Replies: 23
Views: 33857

PostForum: General CCS C Discussion   Posted: Sat Sep 12, 2009 12:29 pm   Subject: how to fgets()
If i get what you are saying right then it's yes to both

If it is possible give me examples or anything for both

Thnx
  Topic: how to fgets()
dbsjro

Replies: 23
Views: 33857

PostForum: General CCS C Discussion   Posted: Sat Sep 12, 2009 8:27 am   Subject: how to fgets()
More questions Sad

Can i do the same without having to press Enter?
I am sending data but matlab dosen't support keystroke, meaning the program stucks waiting for Enter...
  Topic: how to fgets()
dbsjro

Replies: 23
Views: 33857

PostForum: General CCS C Discussion   Posted: Wed Sep 09, 2009 2:07 pm   Subject: how to fgets()
Shocked Shocked Shocked You are amazing!!!!!

I won't trouble you....for the moment at least Wink
  Topic: how to fgets()
dbsjro

Replies: 23
Views: 33857

PostForum: General CCS C Discussion   Posted: Wed Sep 09, 2009 1:27 pm   Subject: how to fgets()
Why it prints only " You are mistaken "
Can i fix it?

#include <16F628.h>
#fuses XT,NOWDT,NOPUT,NOPROTECT,NOLVP,BROWNOUT,HS
#use delay(clock=4000000,RESTART_WDT)
#use rs ...
  Topic: how to fgets()
dbsjro

Replies: 23
Views: 33857

PostForum: General CCS C Discussion   Posted: Wed Sep 09, 2009 11:28 am   Subject: how to fgets()
If only i knew as much as you i would be 1000000... times happier Laughing

This seems to work but i have a difficult one now

I wanna sent a string from my PC (can hyperterminal send strings?If not ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group