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 21 matches
CCS Forum Index
Author Message
  Topic: Program to LMB204BDC LCD
mlkushan

Replies: 1
Views: 3184

PostForum: General CCS C Discussion   Posted: Fri Jun 12, 2009 3:40 am   Subject: Program to LMB204BDC LCD
Dear all,

I need write a program to communicate with LMB204BDC LCD. I am using 16f877a micro controller. So if anyone of can guide me on these matters, it would be a great help for me.

Is there ...
  Topic: Problem in BYTE stream data transmission through UART
mlkushan

Replies: 0
Views: 2854

PostForum: General CCS C Discussion   Posted: Thu Jan 15, 2009 11:18 pm   Subject: Problem in BYTE stream data transmission through UART
Hi all,

I'm doing a wireless sensor network based project. Here i needs to send a packet from source to destination. Packet format is mentioned bellow with example values for each segment of the pa ...
  Topic: 16F877A hardware stack overflow problem
mlkushan

Replies: 4
Views: 5273

PostForum: General CCS C Discussion   Posted: Thu Jan 15, 2009 1:42 am   Subject: 16F877A hardware stack overflow problem
Thanks for your help.

I made some modifications on my code.
Initially

int8 *packet; had been defined in two places. I removed it and defined it inside the main function. Then the above mentio ...
  Topic: 16F877A hardware stack overflow problem
mlkushan

Replies: 4
Views: 5273

PostForum: General CCS C Discussion   Posted: Wed Jan 14, 2009 7:15 pm   Subject: 16F877A hardware stack overflow problem
hi,

Thanks for accepting my request on.


Does you mean the MPLAB simulator ? If so, what version of MPLAB ?


No, that is a software simulator.
(Details about the simulator http://www.osh ...
  Topic: 16F877A hardware stack overflow problem
mlkushan

Replies: 4
Views: 5273

PostForum: General CCS C Discussion   Posted: Wed Jan 14, 2009 11:21 am   Subject: 16F877A hardware stack overflow problem
Hi all,

I'm doing a project on wireless sensor networks. So i have designed sensor nodes using 16f877a micro controller (without using existing sensor nodes). I have written a program node to an en ...
  Topic: Dynamic Size Array
mlkushan

Replies: 1
Views: 3293

PostForum: General CCS C Discussion   Posted: Mon Jan 05, 2009 10:45 am   Subject: Dynamic Size Array
Hi all,

Due to the limited memory on micro controllers, it is better if i can used dynamic arrays which can grow at run time, rather than having fixed size arrays.

I need to create a dynamic arr ...
  Topic: SPI Communication problem (Between 16F877A and 16F873A)
mlkushan

Replies: 10
Views: 10444

PostForum: General CCS C Discussion   Posted: Mon Dec 22, 2008 7:16 am   Subject: SPI Communication problem (Between 16F877A and 16F873A)
Thanks for helping me,

PIN_A5 of 16F877A is connected to the PIN_A5 of 16F873A as the slave selection pin. At the initial stage i did testings by disabling the slave selection. Since it didn't work ...
  Topic: SPI Communication problem (Between 16F877A and 16F873A)
mlkushan

Replies: 10
Views: 10444

PostForum: General CCS C Discussion   Posted: Mon Dec 22, 2008 3:53 am   Subject: SPI Communication problem (Between 16F877A and 16F873A)
Thanks for your help,
I made required changes as bellow.
But unfortunately once it is implemented, the master pic get drastically overheated.

At the Master

.............
output_high(P ...
  Topic: SPI Communication problem (Between 16F877A and 16F873A)
mlkushan

Replies: 10
Views: 10444

PostForum: General CCS C Discussion   Posted: Mon Dec 22, 2008 12:39 am   Subject: SPI Communication problem (Between 16F877A and 16F873A)
Thank you for your help,

16F873A
PIN_C4 – (pin 15) SDI data input
PIN_C5 – (pin 16) SDO data output
PIN_C3 – (pin 14) SCK Clock

16F877A
PIN_C4 – (pin 23) SDI data input
PIN_C5 ...
  Topic: SPI Communication problem (Between 16F877A and 16F873A)
mlkushan

Replies: 10
Views: 10444

PostForum: General CCS C Discussion   Posted: Sun Dec 21, 2008 9:44 pm   Subject: SPI Communication problem (Between 16F877A and 16F873A)
First thank you for your help,

Feedback in the sense, once a slave micro controller receives a byte from master through the SPI bus, a LED should light up for five sec. This LED is light up by the ...
  Topic: SPI Communication problem (Between 16F877A and 16F873A)
mlkushan

Replies: 10
Views: 10444

PostForum: General CCS C Discussion   Posted: Sun Dec 21, 2008 10:42 am   Subject: SPI Communication problem (Between 16F877A and 16F873A)
Hi all,

Currently I'm developing a code for an wireless sensor network application. Here I need to interconnect 16F877A and 16F873A. As the initial step I have written a sample code to simulate SPI ...
  Topic: 16F877A dual PWM signals problem
mlkushan

Replies: 5
Views: 6023

PostForum: General CCS C Discussion   Posted: Tue Dec 02, 2008 12:20 am   Subject: Sample code to generate two 40KHz PWM signals
Hi,

Check this code segment. This works fine. Hope this will be helpful to you also. This generates 40KHz PWM signals on both PIN_C1 and PIN_C2.

Thanks.


#include <16F877A.h>
#device ...
  Topic: 16F877A RS232 Communication Problem with Xbee RF module
mlkushan

Replies: 8
Views: 9314

PostForum: General CCS C Discussion   Posted: Mon Dec 01, 2008 11:06 pm   Subject: 16F877A RS232 Communication Problem with Xbee RF module
Hi Ttelmah,

I was bit late to reply you. I still couldn't figure out the reason. I still can't copy "buffer" to "numval". When I simulate the code, after giving an input string, ...
  Topic: 16F877A RS232 Communication Problem with Xbee RF module
mlkushan

Replies: 8
Views: 9314

PostForum: General CCS C Discussion   Posted: Wed Nov 26, 2008 8:01 am   Subject: 16F877A RS232 Communication Problem with Xbee RF module
Hi Ttelmah,

Thanks a lot and thanks for your help. After correcting so many errors, I was finally able to receive a string without having any errors.

But still it does not show a number other th ...
  Topic: 16F877A RS232 Communication Problem with Xbee RF module
mlkushan

Replies: 8
Views: 9314

PostForum: General CCS C Discussion   Posted: Wed Nov 26, 2008 5:34 am   Subject: 16F877A RS232 Communication Problem with Xbee RF module
Hi Ttelmah,

Finally I was able to print a number within 0 - 9 without any garbage.
I changed the type casting code segment as below:

temperature = (int )buffer;

change to

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


Powered by phpBB © 2001, 2005 phpBB Group