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 19 matches
CCS Forum Index
Author Message
  Topic: could anyone convert mikroc esp8266 library to ccs c, please
leaveme

Replies: 12
Views: 47824

PostForum: General CCS C Discussion   Posted: Thu Feb 20, 2020 11:32 am   Subject: could anyone convert mikroc esp8266 library to ccs c, please
I have a library for it i made.
Planning on posting soon, "thingspeak ready".

G.
Though it is a very old thread, but did you manage to make the library for esp8266?

regards
  Topic: Is my comparator setup wrong?
leaveme

Replies: 7
Views: 11874

PostForum: General CCS C Discussion   Posted: Fri Aug 02, 2013 2:41 am   Subject: Is my comparator setup wrong?
Thanks Ttelmah. My lab PSU is very stable and well filtered. Don't really understand why my comparator behaves abnormal.

Why route the Vref output to F5, or use A3?. Wasting pins.
Your point is va ...
  Topic: Is my comparator setup wrong?
leaveme

Replies: 7
Views: 11874

PostForum: General CCS C Discussion   Posted: Thu Aug 01, 2013 6:07 am   Subject: Is my comparator setup wrong?
I never used PIC comparator before and due to the problem I'm a bit confused whether I did it correctly or not.

So the problem is not with the setup, it is from the power or somewhere else.
  Topic: Is my comparator setup wrong?
leaveme

Replies: 7
Views: 11874

PostForum: General CCS C Discussion   Posted: Wed Jul 31, 2013 11:49 pm   Subject: Is my comparator setup wrong?
I need to use comparator 1 with internal Vref (connected to A3). Comparator should output 1 if the input voltage exceeds at pin A0. I used a pot at PIN A0 and an LED connected to C1 for testing purpos ...
  Topic: Little help needed for frequency meter with CCP
leaveme

Replies: 6
Views: 10542

PostForum: General CCS C Discussion   Posted: Fri Jul 19, 2013 11:03 pm   Subject: Little help needed for frequency meter with CCP
It is 18F452 with 8M oscillator.


setup_timer_1(T1_INTERNAL | T1_DIV_BY_8);
...
...
freq = (int16)(250000L + (current_ccp_delta >>1) / current_ccp_delta); ...
  Topic: Little help needed for frequency meter with CCP
leaveme

Replies: 6
Views: 10542

PostForum: General CCS C Discussion   Posted: Fri Jul 19, 2013 11:21 am   Subject: Little help needed for frequency meter with CCP
I have a simple frequency meter adapted by the example provided in this thread (by PCM programmer) and it works great.
http://www.ccsinfo.com/forum/viewtopic.php?t=41172&highlight=freq

However ...
  Topic: Need some info for Timer INT
leaveme

Replies: 6
Views: 9400

PostForum: General CCS C Discussion   Posted: Sun Jul 07, 2013 11:55 am   Subject: Need some info for Timer INT
Thanks Mike.


#include <16F767.h>

#fuses HS
#FUSES NOMCLR
#FUSES INTRC_IO //Internal RC Osc, no CLKOUT

#use delay(int=8000000) //Use 8MHz Internal ...
  Topic: Need some info for Timer INT
leaveme

Replies: 6
Views: 9400

PostForum: General CCS C Discussion   Posted: Sun Jul 07, 2013 10:10 am   Subject: Need some info for Timer INT
Actually I would like to know if a timer can be enabled/disabled in a INT ISR call-
setup_timer_1(T1_DISABLED)
  Topic: Need some info for Timer INT
leaveme

Replies: 6
Views: 9400

PostForum: General CCS C Discussion   Posted: Sun Jul 07, 2013 8:08 am   Subject: Need some info for Timer INT
I need following steps for a project. But I have some confusion regarding enabling and disabling the timer. Also I would like to know whether it can be done using one INT routine or I need two.

1. ...
  Topic: AC Dimmer
leaveme

Replies: 11
Views: 18335

PostForum: General CCS C Discussion   Posted: Mon Dec 19, 2011 6:38 am   Subject: AC Dimmer
Thanks Ttelmah.

I need something MCU controlled so complexity is ok with me.
Aah...nobody made similar yet... Surprised
  Topic: AC Dimmer
leaveme

Replies: 11
Views: 18335

PostForum: General CCS C Discussion   Posted: Mon Dec 19, 2011 4:25 am   Subject: AC Dimmer
Hi asmboy,

I just need a simple dimmer in PIC, i.e. a dimmer by which you can control a 100w 220v/50Hz AC lamp.

Duty cycle is about 25% to full and a POT can be used to control.

I have no id ...
  Topic: AC Dimmer
leaveme

Replies: 11
Views: 18335

PostForum: General CCS C Discussion   Posted: Tue Dec 13, 2011 10:11 pm   Subject: AC Dimmer
Thanks guys.

I tried google as well and google returned tons of references. But they are mostly assembler. Unfortunately I can't read asm.

I asked here if anyone willing to share a dimmer...anyt ...
  Topic: AC Dimmer
leaveme

Replies: 11
Views: 18335

PostForum: General CCS C Discussion   Posted: Tue Dec 13, 2011 11:20 am   Subject: AC Dimmer
I tried the search but didn't return anything good.
  Topic: AC Dimmer
leaveme

Replies: 11
Views: 18335

PostForum: General CCS C Discussion   Posted: Tue Dec 13, 2011 9:43 am   Subject: AC Dimmer
Hi,

I'm looking for an AC dimmer. I checked in code library but couldn't find anything.
Anybody has a working dimmer in CCS?
Do you mind to share...pls.

Thanks.
  Topic: Single line text scrolling on LCD ?
leaveme

Replies: 1
Views: 4122

PostForum: General CCS C Discussion   Posted: Sat Dec 10, 2011 10:48 pm   Subject: Single line text scrolling on LCD ?
I'm using following code for left/right text scrolling. But they are handling both the lines at the same time. Anybody can suggest anything so that I can scroll only single line ?

lcd_send_byte( ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group