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 14 matches
CCS Forum Index
Author Message
  Topic: PWM Dimming
jhasan

Replies: 6
Views: 9347

PostForum: General CCS C Discussion   Posted: Tue Jul 12, 2011 3:13 pm   Subject: PWM Dimming
For some reason I cannot download a image here.

If you could bare with me, and go to google and search for the following paper "LED Driver With Self-Adaptive Drive Voltage". On page 4 of ...
  Topic: PWM Dimming
jhasan

Replies: 6
Views: 9347

PostForum: General CCS C Discussion   Posted: Tue Jul 12, 2011 11:29 am   Subject: PWM Dimming
Hello,

I still did not get the PWM signal to be shifted.

This is my code:

while(1)
{
set_adc_channel(0);
delay_us(20);
Vsense_adc_read_1 = read_adc() ...
  Topic: PWM Dimming
jhasan

Replies: 6
Views: 9347

PostForum: General CCS C Discussion   Posted: Mon Jul 11, 2011 11:28 pm   Subject: PWM Dimming
I am using PIC18F4431 to do PWM dimming for a two string LED. The two PWM signals for dimming the LEDs have to be phase shifted. Also, I am using a voltage on the ADC pin so that I can change the dimm ...
  Topic: Problems with printf() and getc()
jhasan

Replies: 15
Views: 14709

PostForum: General CCS C Discussion   Posted: Tue Jan 13, 2009 6:41 pm   Subject: Problems with printf() and getc()
In the SIOW window:

ComPorts=Direct to COM1 [It is connected to COM1 of my PC]

Baud rates=9600

Parity=None

Data bits=8

Stop bits=1

Software Flow Control=None

Hardware Flow Contro ...
  Topic: Problems with printf() and getc()
jhasan

Replies: 15
Views: 14709

PostForum: General CCS C Discussion   Posted: Tue Jan 13, 2009 6:26 pm   Subject: Problems with printf() and getc()
Attached is the code
#include <18F2431.h>
#use delay (clock=20000000)
#fuses HS,NOLVP,NOWDT,NOPROTECT,NOPUT,BROWNOUT
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7, parity=N, bits ...
  Topic: Problems with printf() and getc()
jhasan

Replies: 15
Views: 14709

PostForum: General CCS C Discussion   Posted: Tue Jan 13, 2009 5:11 pm   Subject: Problems with printf() and getc()
I have tried using lower case 'hello'.

I have tried the code you send me.But it still no luck.

I went back and checked getc(), and putchar().It works fine.Also printf("k") also works b ...
  Topic: Problems with printf() and getc()
jhasan

Replies: 15
Views: 14709

PostForum: General CCS C Discussion   Posted: Tue Jan 13, 2009 3:49 pm   Subject: Problems with printf() and getc()
I just tried according to your suggestions but same problem.This is what I get in siow

lÿelhllollllhhhlelhlleÿllelhoelleeoeolelllehhlÿlllhholÿllhlhehlhllhlllllhheelÿllÁ¬Pþ
óÿÿÿÿÿÿÿ ...
  Topic: Problems with printf() and getc()
jhasan

Replies: 15
Views: 14709

PostForum: General CCS C Discussion   Posted: Tue Jan 13, 2009 2:48 pm   Subject: Problems with printf() and getc()
1)Attached is my code:
#include <18F2431.h>
#device ADC=10
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#use delay (clock=20000000)
#fuses HS,NOLVP ...
  Topic: Problems with printf() and getc()
jhasan

Replies: 15
Views: 14709

PostForum: General CCS C Discussion   Posted: Tue Jan 13, 2009 12:08 pm   Subject: Problems with printf() and getc()
I got the getc() function to work properly. But still am having problem with printf().

I have connected the max232 chip with pic as recommended by some of you. Also, if I use putchar() it works fin ...
  Topic: Problems with printf() and getc()
jhasan

Replies: 15
Views: 14709

PostForum: General CCS C Discussion   Posted: Thu Jan 08, 2009 10:14 pm   Subject: Problems with printf() and getc()
I am using PIC18F2331 and using basic printf() and getc() functions to communicate between PIC and PC. But I am having problems.

When I use printf() using the code below I get unknown characters in ...
  Topic: PicStart-Plus programmer
jhasan

Replies: 1
Views: 3361

PostForum: General CCS C Discussion   Posted: Sat Nov 01, 2008 10:49 am   Subject: PicStart-Plus programmer
Hi,

I am trying to program a PIC18F2331 using picstart plus pic programmer. But I am having problems programming the PIC18F2331 using the picstart plus.

But if I use PIC16F84 then the picstart p ...
  Topic: PID Controller
jhasan

Replies: 1
Views: 4733

PostForum: General CCS C Discussion   Posted: Thu Jul 06, 2006 10:26 pm   Subject: PID Controller
Hi,

I am currently designing a switch mode power converter that will be controlled by PIC16F877A.I am planning to use PI or PID controller for it.I was wondering if anyone knows a good website that ...
  Topic: PIC16F877A
jhasan

Replies: 3
Views: 6214

PostForum: General CCS C Discussion   Posted: Sun Jun 04, 2006 6:39 pm   Subject: PIC16F877A
I know how to use the picstart plus.I problem is since pic16F877A is an 40 pin microcontroller there some problem arises when you want to program the pic16F877A using picstart plus.

In the MPLAB so ...
  Topic: PIC16F877A
jhasan

Replies: 3
Views: 6214

PostForum: General CCS C Discussion   Posted: Sat Jun 03, 2006 10:44 pm   Subject: PIC16F877A
I was wondering if anyone can tell me how can I program the pic16F877A using picstart plus(firmware version 4.20.03).

Thanks
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group