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 8 matches
CCS Forum Index
Author Message
  Topic: DHT11 Relative Humidity and Temperature Sensor
gianhenrique

Replies: 14
Views: 112114

PostForum: Code Library   Posted: Wed Sep 30, 2015 3:28 am   Subject: Alarm
Hello guys,

I would like to know, if I want to make a Alarm with some temperature or humidity... How variable can I read for compare with some value, then make a decision?

Have you some examples ...
  Topic: update period of the POWER PWM in PIC18F4431
gianhenrique

Replies: 12
Views: 13792

PostForum: General CCS C Discussion   Posted: Mon Jan 03, 2011 5:09 am   Subject: update period of the POWER PWM in PIC18F4431
PCM programmer Thanks for the help, your help was amazing utility!

Sorry for any faux pas I made.

Graciously

Gian Correa

Very Happy
  Topic: update period of the POWER PWM in PIC18F4431
gianhenrique

Replies: 12
Views: 13792

PostForum: General CCS C Discussion   Posted: Tue Dec 21, 2010 5:47 pm   Subject: update period of the POWER PWM in PIC18F4431
What I want is to change the period of the pwm.

Just tell me if you like me to update the frequency PWM mode by another without use the function setup_power_pwm ()...

How to update only the valu ...
  Topic: update period of the POWER PWM in PIC18F4431
gianhenrique

Replies: 12
Views: 13792

PostForum: General CCS C Discussion   Posted: Tue Dec 21, 2010 5:19 pm   Subject: update period of the POWER PWM in PIC18F4431
sorry again!
I do this part of the code, is to compare the value of this one OR the other ...

there was a mistake, because the code is not posted an updated code ...
I've moved this logic to the ...
  Topic: update period of the POWER PWM in PIC18F4431
gianhenrique

Replies: 12
Views: 13792

PostForum: General CCS C Discussion   Posted: Tue Dec 21, 2010 1:54 pm   Subject: update period of the POWER PWM in PIC18F4431
sorry
I'll put part of the program that works too.
I believe that works right ...

#include <18f4431.h>
#use delay(clock=20000000)
#fuses NOLVP, HS, NOWDT, NOPROTECT, PUT, BROWNOUT ...
  Topic: update period of the POWER PWM in PIC18F4431
gianhenrique

Replies: 12
Views: 13792

PostForum: General CCS C Discussion   Posted: Tue Dec 21, 2010 1:34 pm   Subject: update period of the POWER PWM in PIC18F4431
eu vou postar o codigo inteiro entao, para que vc possa dar uma olhada...

o fato é que eu só queria arranjar uma forma de atualizar a frequencia sem ter que configurar a função do Power_PWM den ...
  Topic: update period of the POWER PWM in PIC18F4431
gianhenrique

Replies: 12
Views: 13792

PostForum: General CCS C Discussion   Posted: Mon Dec 20, 2010 5:11 pm   Subject: update period of the POWER PWM in PIC18F4431

void front_d()
{
enable_interrupts(int_pwmtb);

do{
setup_power_pwm(PWM_CLOCK_DIV_16 | PWM_FREE_RUN | PWM_DEAD_CLOCK_DIV_4, 1, 0, freq, 0, 0, 0);
output_ ...
  Topic: update period of the POWER PWM in PIC18F4431
gianhenrique

Replies: 12
Views: 13792

PostForum: General CCS C Discussion   Posted: Mon Dec 20, 2010 4:28 pm   Subject: update period of the POWER PWM in PIC18F4431
hey guys

I'm from Brazil and I'm desperate because I can not update the values of the period (PTPER) quickly, this function requires a time of 10ms, which impairs my motor ..

how I set this func ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group