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 16 matches
CCS Forum Index
Author Message
  Topic: pic 18F4550 - ccs-PCB - timer0
Louati

Replies: 1
Views: 6370

PostForum: General CCS C Discussion   Posted: Sat Sep 08, 2012 2:43 am   Subject: pic 18F4550 - ccs-PCB - timer0
Hello,
I'm testing the timer0 of my pic 18f4550 by toggling the pin_B7 each 1.6384 second but the program didn't work !
The code:


#include <18f4550.h>
#FUSES NOWDT
#FUSES WDT128
#FUSES ...
  Topic: pic 18F4550 - ccs-PCB - LCD communication "LM044L"
Louati

Replies: 3
Views: 9758

PostForum: General CCS C Discussion   Posted: Mon Aug 27, 2012 2:19 pm   Subject: pic 18F4550 - ccs-PCB - LCD communication "LM044L"
Yeah the flex_lcd do work Smile thank you Smile
  Topic: pic 18F4550 - ccs-PCB - LCD communication "LM044L"
Louati

Replies: 3
Views: 9758

PostForum: General CCS C Discussion   Posted: Mon Aug 27, 2012 7:00 am   Subject: pic 18F4550 - ccs-PCB - LCD communication "LM044L"
Hello,
I did some modification in LCD driver of the pic_c module to be able to use:
* port A : RA2 ... RA5 :for communication {4 bit mode}
* Pin RC0 for E
* Pin RC1 for RS
The other LCD Pins or ...
  Topic: Use the Pin of MCLR as an I/O PIN
Louati

Replies: 4
Views: 9505

PostForum: General CCS C Discussion   Posted: Wed Jun 27, 2012 1:51 pm   Subject: Use the Pin of MCLR as an I/O PIN
Probably an ISIS bug.

Seriously, _forget ISIS as a PIC simulator_. I use it as an alternative to Spice for analog simulation, but on the PIC, it is so bad, that I stopped renewing the license...
...
  Topic: Use the Pin of MCLR as an I/O PIN
Louati

Replies: 4
Views: 9505

PostForum: General CCS C Discussion   Posted: Wed Jun 27, 2012 1:37 pm   Subject: Use the Pin of MCLR as an I/O PIN
I simulate my program on isis and it show that the pin of MCLR is configurated as input despite I declarate it as input and I disactivated the MCLR in FUSES.

#include <18f4550.h>

#fuses HS ...
  Topic: using timer pic18f4550
Louati

Replies: 4
Views: 11216

PostForum: General CCS C Discussion   Posted: Mon Jun 25, 2012 1:57 pm   Subject: using timer pic18f4550
I find it's easiest to sometimes read the microchip data sheet.

For instance, timer0 can operate in both 8 and 16 bit modes.


11.4 Timer0 Interrupt
The TMR0 interrupt is generated when the TMR ...
  Topic: using timer pic18f4550
Louati

Replies: 4
Views: 11216

PostForum: General CCS C Discussion   Posted: Mon Jun 25, 2012 12:28 pm   Subject: using timer pic18f4550
Hello Smile
The timer0, timer1, timer2 and timer3 in pic 18f4550 are defined by 16bit(8bit timer0L and 8 bit timer0H) and the same for others timers.
The question is when I use ccs the interrupt caused ...
  Topic: Using pin of USB as logic pin
Louati

Replies: 2
Views: 4054

PostForum: General CCS C Discussion   Posted: Thu Jun 14, 2012 1:10 pm   Subject: Using pin of USB as logic pin
Look at this thread. Less than a day ago....

<http://www.ccsinfo.com/forum/viewtopic.php?t=48443>
thanxs Smile
  Topic: Using pin of USB as logic pin
Louati

Replies: 2
Views: 4054

PostForum: General CCS C Discussion   Posted: Thu Jun 14, 2012 9:56 am   Subject: Using pin of USB as logic pin
Hello Smile
I want to know if I can use the two pins D- and D+ of a pic 18f4550 as logic pins ?
I try but they didn't work :/
If someone can helpe me I will be so thankful.

#include <18f4550.h&g ...
  Topic: Réaliser un signal PWM 500hz
Louati

Replies: 2
Views: 4844

PostForum: General CCS C Discussion   Posted: Wed May 30, 2012 2:48 am   Subject: Réaliser un signal PWM 500hz
Bonjour Smile

Je suis en train de réaliser un signal PWM de fréquence 500hz dont le rapport cyclique est variable à l'aide d'un potentiomètre.
Sur ISIS le programme fonctionne parfaitement mais ...
  Topic: ccs get bit value
Louati

Replies: 1
Views: 3702

PostForum: General CCS C Discussion   Posted: Wed Mar 28, 2012 7:49 am   Subject: ccs get bit value
Hello Smile
Actually I'm looking for an ccs command that allow me to get the value of a bit from a char variable.

EX :

char c;
c=0b00001000;

What is the command that allow me to have the valu ...
  Topic: RS232 pic <--> PC
Louati

Replies: 6
Views: 7932

PostForum: General CCS C Discussion   Posted: Tue Mar 27, 2012 10:50 am   Subject: RS232 pic <--> PC
Actually it just a problem of inverting input and output Smile
It's on right now Smile Thanks for help Smile
  Topic: RS232 pic <--> PC
Louati

Replies: 6
Views: 7932

PostForum: General CCS C Discussion   Posted: Mon Mar 26, 2012 12:28 pm   Subject: RS232 pic <--> PC
Have you verified the voltage levels are correct on the max232 chip ? (the correct charge pump caps are in place). How are you trying to talk to it from the PC ? Hyperterminal or just what? What d ...
  Topic: RS232 pic <--> PC
Louati

Replies: 6
Views: 7932

PostForum: General CCS C Discussion   Posted: Mon Mar 26, 2012 11:24 am   Subject: RS232 pic <--> PC
Hello Smile
I have a little problem with communication rs232, in fact when I do simulation with Proteus ISIS it's working but when I integrate the chip Max232, infomations are received but they are all ...
  Topic: Internal oscillator PIC18F2550
Louati

Replies: 2
Views: 8358

PostForum: General CCS C Discussion   Posted: Mon Mar 26, 2012 8:35 am   Subject: Internal oscillator PIC18F2550
Thank you for help Smile
I solve the problem in the two case Smile
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group