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 13 matches
CCS Forum Index
Author Message
  Topic: Help with X10 home automation
Onur

Replies: 26
Views: 29237

PostForum: General CCS C Discussion   Posted: Tue Sep 20, 2011 7:55 am   Subject: Help with X10 home automation
long time ago I used <x10.c> code with TW523 module at 220V 50Hz. works like a charm
  Topic: Rtos task rate and minor_cycle relationship
Onur

Replies: 1
Views: 3205

PostForum: General CCS C Discussion   Posted: Mon Aug 10, 2009 7:54 am   Subject: Im just guessing
I guess

Task rate /minor_cycle =should be less then 255 (1 byte )

For example
#use rtos(timer=0,minor_cycle=2ms)


#task(rate=500ms,max=2ms)
void The_first_rtos_task ( ...
  Topic: Rtos task rate and minor_cycle relationship
Onur

Replies: 1
Views: 3205

PostForum: General CCS C Discussion   Posted: Mon Aug 10, 2009 3:53 am   Subject: Rtos task rate and minor_cycle relationship
Hello I want to ask about Rtos

this is main Rtos parameters

#use rtos(timer=0,minor_cycle=1ms)

My tasks are

#task(rate=1s,max=1ms)
void The_first_rtos_task ( );
...
  Topic: writing to eeprom 16 bit number
Onur

Replies: 3
Views: 5158

PostForum: General CCS C Discussion   Posted: Fri Apr 29, 2005 3:15 am   Subject: writing to eeprom 16 bit number
I want to write eeproom 16 bit number but I dont know how..

thank you..
  Topic: X10 dimming with PIC
Onur

Replies: 10
Views: 16554

PostForum: General CCS C Discussion   Posted: Sun Apr 24, 2005 5:55 pm   Subject: X10 dimming with PIC
maybe you are right .. I'm beginner of x10..

but If I remove code detect ic at receiving ciruit. I think we can receive any msj using this device... I saw sometihing on the web.
  Topic: X10 dimming with PIC
Onur

Replies: 10
Views: 16554

PostForum: General CCS C Discussion   Posted: Sun Apr 24, 2005 4:27 pm   Subject: X10 dimming with PIC
I added B0 to 2K2 ohm pull up.. now I can send x10 data.. sender tw523 led flashing and receiver tw523 flashing but I cant take data using receiver code.. now I'm working about..


sender

#inclu ...
  Topic: X10 dimming with PIC
Onur

Replies: 10
Views: 16554

PostForum: General CCS C Discussion   Posted: Sun Apr 24, 2005 5:50 am   Subject: X10 dimming with PIC
sender pic code

#include <16F84A.h>
#fuses HS,NOWDT,NOPROTECT
#use delay(clock=20000000)
#include <x10.c>

void main() {
output_low(pin_b5);

while& ...
  Topic: X10 dimming with PIC
Onur

Replies: 10
Views: 16554

PostForum: General CCS C Discussion   Posted: Fri Apr 22, 2005 4:11 pm   Subject: tw
I Tryed These codes but I failed.(maybe I had a mistake.) I want to know
can I use 2 tw523 device for sendind and receiving data
I know tw523 two way interface.. if somebody test it I can learn to ...
  Topic: X10 dimming with PIC
Onur

Replies: 10
Views: 16554

PostForum: General CCS C Discussion   Posted: Fri Apr 22, 2005 5:00 am   Subject: Tw523
I have 2 tw523 module.. I want to send some of data using these devices
if I use this device like rs232 it will be great..
(I have 220V 50Hz version)
how can I do? Thank you..
  Topic: Code is working on 16F877 but not work in 18F452
Onur

Replies: 26
Views: 41186

PostForum: General CCS C Discussion   Posted: Thu Aug 05, 2004 4:20 pm   Subject: Code is working on 16F877 but not work in 18F452
This is code

#include <18F452.h>

#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=20000000)
#use rs232(baud=19200, xmit=PIN_E0, rcv=PIN_E1)

void main()
...
  Topic: Code is working on 16F877 but not work in 18F452
Onur

Replies: 26
Views: 41186

PostForum: General CCS C Discussion   Posted: Thu Aug 05, 2004 8:29 am   Subject: Code is working on 16F877 but not work in 18F452
Same problem on Kbhit code..
I tryed on 16f877 but dont work on 18F452

When I used 18F452 program always send me "onur"

I CAN'T UNDERSTAND IT SOMEONE HELP ME ....
THIS MAY BE BUG

#INCLUDE ...
  Topic: Code is working on 16F877 but not work in 18F452
Onur

Replies: 26
Views: 41186

PostForum: General CCS C Discussion   Posted: Thu Aug 05, 2004 7:24 am   Subject: Code is working on 16F877 but not work in 18F452
This code sending to me Onur..

#INCLUDE <18F452.h>
#use delay(clock=20000000)
#FUSES HS,NOWDT,NOPROTECT,NOLVP,noPUT, NOBROWNOUT
#use rs232(baud=9600, xmit=PIN_E0, rcv=PIN_E1 ...
  Topic: Lm35 Adc accurate
Onur

Replies: 6
Views: 16837

PostForum: General CCS C Discussion   Posted: Sun Jun 20, 2004 6:54 am   Subject: Lm35 Adc accurate
I'm using lm35 and adc answer changing like this.
25-26-25-32-25-26-20-26-25
I can't read properly lm35 directly connected to pic.
I used 10 bit res. and adc clock divide 32.

When I use pot noth ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group