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 46 matches
CCS Forum Index
Author Message
  Topic: Any suggestions for this design?
dvsoft

Replies: 7
Views: 11550

PostForum: General CCS C Discussion   Posted: Sat Feb 12, 2005 2:30 am   Subject: Any suggestions for this design?
hello

you can use a histeresis comparator

look at www.cypress.com

seek: AN2108 - Standard - Hysteresis Comparator with PSoc

Alain
  Topic: Atmel Dataflash
dvsoft

Replies: 10
Views: 16684

PostForum: General CCS C Discussion   Posted: Thu Feb 10, 2005 6:01 am   Subject: Atmel Dataflash
re-bonjout

Ok,
i send to your email, ma drawing

Alain
  Topic: Atmel Dataflash
dvsoft

Replies: 10
Views: 16684

PostForum: General CCS C Discussion   Posted: Thu Feb 10, 2005 2:30 am   Subject: Atmel Dataflash
bonjour

hello,

I had the same problem.
that came from my interface

you must connect

Pin1 (ready/Busy) converter 3.3 to 5V
Pin16 (SO) converter 3.3 ...
  Topic: Atmel Dataflash
dvsoft

Replies: 10
Views: 16684

PostForum: General CCS C Discussion   Posted: Wed Feb 09, 2005 4:50 pm   Subject: Atmel Dataflash
good evening

your code seems to be correct, but not very clear

1 Which PIC is which frequency has
2 Which version of the compiler
3 how is to carry out convertion of voltage between PIC 5V ...
  Topic: communication with PC through RS232
dvsoft

Replies: 6
Views: 12021

PostForum: General CCS C Discussion   Posted: Fri Jan 07, 2005 5:41 am   Subject: communication with PC through RS232
bonjour

try this

int8 Cmd;
while(TRUE) {
if (kbhit()) {
Cmd = fgets(COM_1);
fprintf (COM_1,"I Have received :%d\r\n",Cmd);
}// End If
}/ ...
  Topic: Macro question
dvsoft

Replies: 9
Views: 15010

PostForum: General CCS C Discussion   Posted: Fri Oct 22, 2004 4:41 am   Subject: Macro question
Re,

but with compiler CCS you can use

#inline
BYTE ReadUSBNbus(void)
{
USBN_BUS_DIR = INPUT ; //TRISC = 0xFF
return(USBN_BUS) ; //read PORTC
}

look at th ...
  Topic: Macro question
dvsoft

Replies: 9
Views: 15010

PostForum: General CCS C Discussion   Posted: Fri Oct 22, 2004 4:38 am   Subject: Macro question
bonjour,


Function

BYTE ReadUSBNbus(void)
{
USBN_BUS_DIR = INPUT ; //TRISC = 0xFF
return(USBN_BUS) ; //read PORTC
}


Macro

#define ReadUSBbus(BUS&# ...
  Topic: ex_ad12.c
dvsoft

Replies: 8
Views: 16110

PostForum: General CCS C Discussion   Posted: Wed Oct 20, 2004 5:48 am   Subject: ex_ad12.c
bonjour,

Yes you can
but you must set the correct pin for the extern ADC
in file ltc1298.c

#ifndef ADC_CS

#define ADC_CLK PIN_B0
#define ADC_DOUT PIN_B1
#define ADC_DIN ...
  Topic: Help with union
dvsoft

Replies: 5
Views: 9167

PostForum: General CCS C Discussion   Posted: Tue Oct 19, 2004 8:06 am   Subject: Help with union
re,

yes it is possible, with pointers. but I do not think that it is faster

Alain
  Topic: Help with union
dvsoft

Replies: 5
Views: 9167

PostForum: General CCS C Discussion   Posted: Tue Oct 19, 2004 4:19 am   Subject: Help with union
sorry

Correct end loop

while (++ByteCnt < 4);
Alain
  Topic: Help with union
dvsoft

Replies: 5
Views: 9167

PostForum: General CCS C Discussion   Posted: Tue Oct 19, 2004 4:18 am   Subject: Help with union
bonjour

this code
union dblock { int8 SABM[5]; } octet;
octet.SABM=0x100001C0C0L
is not Valide

union for one int32

union {
...
  Topic: simple macro problem
dvsoft

Replies: 7
Views: 11825

PostForum: General CCS C Discussion   Posted: Fri Oct 15, 2004 10:37 am   Subject: simple macro problem
bonsoir

juste write
#define USBN_RST USBN_BUS 5

when you use USBN_RST USBN_BUS in expression the compiler replace by 5

Alain
  Topic: Question about UART transmission
dvsoft

Replies: 7
Views: 14004

PostForum: General CCS C Discussion   Posted: Wed Oct 13, 2004 8:24 am   Subject: Question about UART transmission
bonjour,

ATTENTION
in C language the test operator is "=="
if (testValue == 0x0001C8C8)
output_high(LED0);



Alain
  Topic: Question about UART transmission
dvsoft

Replies: 7
Views: 14004

PostForum: General CCS C Discussion   Posted: Wed Oct 13, 2004 3:41 am   Subject: Question about UART transmission
bonjour

yes completely why?

Alain
  Topic: Help for rf12F675H
dvsoft

Replies: 6
Views: 12419

PostForum: General CCS C Discussion   Posted: Wed Oct 13, 2004 2:08 am   Subject: Help for rf12F675H
bonjour,


#include <12F675H.h>
#device adc=8
#use delay(clock=20000000)
#fuses NOWDT,INTRC, NOCPD, NOPROTECT, MCLR, NOPUT, BROWNOUT


setup_adc_ports(NO_ANALOGS|VSS_VDD& ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group