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: 4 Adc channels??
reptile404

Replies: 11
Views: 10147

PostForum: General CCS C Discussion   Posted: Sun Jan 15, 2012 10:40 am   Subject: 4 Adc channels??
Thanks Mr.Ttelmah
i think its what i was looking for , i just need to know the remainder cauz i will do division on 4 and remainder values will be (0,1,2,3) whatever variable A is , then rem=0 ...
  Topic: 4 Adc channels??
reptile404

Replies: 11
Views: 10147

PostForum: General CCS C Discussion   Posted: Sat Jan 14, 2012 3:40 am   Subject: 4 Adc channels??
Is it possible in ccs to know rest of division (a%4) ?
If a=5, so result is 1 and rest is 1.
  Topic: 4 Adc channels??
reptile404

Replies: 11
Views: 10147

PostForum: General CCS C Discussion   Posted: Sat Jan 14, 2012 3:32 am   Subject: 4 Adc channels??
Thnx Guys ! But I didn't mean to use a loop (for). I just want to know a mathematical method. For example, I used (%) for two channels, using timers interruptions. For example, it reads from a chann ...
  Topic: 4 Adc channels??
reptile404

Replies: 11
Views: 10147

PostForum: General CCS C Discussion   Posted: Fri Jan 13, 2012 2:27 pm   Subject: 4 Adc channels??
Yes, I know that its impossible but I meant a method like I gave but reads 4 channels without using delay function (ofc not 16us).
  Topic: 4 Adc channels??
reptile404

Replies: 11
Views: 10147

PostForum: General CCS C Discussion   Posted: Fri Jan 13, 2012 12:50 pm   Subject: 4 Adc channels??
Hello !!
I would like to know a method that makes the pic read 4 adc values , evry 2ms it reads from a chennel , for example for 2 channels we can use this:

int a=0,val,va2;
Timer2 (2ms ...
  Topic: ZIGBEE
reptile404

Replies: 2
Views: 3756

PostForum: General CCS C Discussion   Posted: Tue Dec 27, 2011 12:38 pm   Subject: ZIGBEE
Thanks man !
  Topic: ZIGBEE
reptile404

Replies: 2
Views: 3756

PostForum: General CCS C Discussion   Posted: Tue Dec 27, 2011 12:35 pm   Subject: ZIGBEE
Hello everybody
I would like to know if this (2.4GHz MRF24J40 Wireless UART Communication Module) could work with pic16f877 (uart).
Thanks
  Topic: Ac Dimmer
reptile404

Replies: 8
Views: 10331

PostForum: General CCS C Discussion   Posted: Sun Dec 25, 2011 9:16 am   Subject: Ac Dimmer
Well, for your records it doesn't work in reality as well. I mean I've tried it on breadboard and development boards but no achievement, doesn't work.
If you didn't find where is problem, why blami ...
  Topic: Ac Dimmer
reptile404

Replies: 8
Views: 10331

PostForum: General CCS C Discussion   Posted: Sun Dec 25, 2011 8:53 am   Subject: Ac Dimmer
I don't think that problem is in noise because I'm just working on simulation (Proteus). Is my code correct (detects H.edge and L.edge , or just H.edge )? Can anyone give me another solution ?
  Topic: Keypad 4x3 problem
reptile404

Replies: 6
Views: 9399

PostForum: General CCS C Discussion   Posted: Sat Dec 10, 2011 8:24 am   Subject: Keypad 4x3 problem
Well, you told me that I've shown you KBDD.c not KBD.c.
I used the driver that comes with the compiler which is kbd.c
and I've shown to you, here's the header (keypad.h):

#include <16F877A. ...
  Topic: Keypad 4x3 problem
reptile404

Replies: 6
Views: 9399

PostForum: General CCS C Discussion   Posted: Sat Dec 10, 2011 7:29 am   Subject: Keypad 4x3 problem
yes Lcd works pretty good , but keypad no
the KBD header is :

///////////////////////////////////////////////////////////////////////////
//// KBDD.C ...
  Topic: Keypad 4x3 problem
reptile404

Replies: 6
Views: 9399

PostForum: General CCS C Discussion   Posted: Fri Dec 09, 2011 3:40 pm   Subject: Keypad 4x3 problem
Hello!
I dont know why this code does not work ?
I use pic 16f877a +keypad (4x3)+lcd.
Nothing displayed on LCD. I use port B for LCD and Port D for Keypad.

#include "keypad2.h"
#i ...
  Topic: LCD display
reptile404

Replies: 2
Views: 4772

PostForum: General CCS C Discussion   Posted: Thu Oct 20, 2011 10:50 am   Subject: LCD display
Hello guys!
I would like to know how to display an integer or float number on LCD
using PRINTF(.....);
Thanks Twisted Evil
  Topic: Ac Dimmer
reptile404

Replies: 8
Views: 10331

PostForum: General CCS C Discussion   Posted: Fri May 06, 2011 4:35 am   Subject: Ac Dimmer
hello guys!
I'm working on ac dimmer which i use zero crossing detector.
I don't know why this code does not work well.
(detect H.edge and L.edge)

int a=0;

#int_EXT
void EXT_isr(void ...
  Topic: lcd problem
reptile404

Replies: 3
Views: 7388

PostForum: General CCS C Discussion   Posted: Fri Apr 01, 2011 11:22 am   Subject: hello
thanks for respond.
I've compiled it using both ccs directly and under mplab
and had same problem.
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group