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: DS1302 driver do not work with dspic30f3011
lasal

Replies: 5
Views: 8143

PostForum: General CCS C Discussion   Posted: Sat Aug 10, 2013 10:17 pm   Subject: problem was solved the ds1302 driver was modified

unsigned int8 get_bcd(unsigned int8 data)
{
unsigned int8 nibh;
unsigned int8 nibl;

nibh=data/10;
nibl=data-(nibh*10);

return((nibh<<4) ...
  Topic: DS1302 driver do not work with dspic30f3011
lasal

Replies: 5
Views: 8143

PostForum: General CCS C Discussion   Posted: Sun Aug 04, 2013 9:39 pm   Subject: DS1302 driver do not work with dspic30f3011
this is my code



main.c----------------------------------------------------------------------------
#include <main.h>
#include <string.h>
#include <stdlib.h>

//#include & ...
  Topic: GP2D12 sensor problem urgent need !!!!!!!!!
lasal

Replies: 10
Views: 11612

PostForum: General CCS C Discussion   Posted: Mon Oct 01, 2012 9:52 pm   Subject: use both lcd lines

printf(lcd_putc, "\fV=%3.2f", volts); // voltage print in first line
printf(lcd_putc, "\nD=%3.2f", distance); // distance print in second line
  Topic: flex keypad hardware help
lasal

Replies: 1
Views: 3853

PostForum: General CCS C Discussion   Posted: Mon Jul 09, 2012 3:42 am   Subject: flex keypad hardware help
I suppose to use Flex_KBD.C in my application. But i can't understand where i must put the pull up resisters. please can someone tell that where to put pull up(or down) resisters in columns or rows. ...
  Topic: Multiple uart port problem
lasal

Replies: 1
Views: 3601

PostForum: General CCS C Discussion   Posted: Thu Jun 14, 2012 9:57 am   Subject: Multiple uart port problem
When I'm using multiple serial ports in PIC CCS, can I use them in different baud rates? As an example when I am using 2 uart ports can I use one in 4800 baud rate and the other in 9600 baud rate?

...
  Topic: out of rom problem
lasal

Replies: 4
Views: 7524

PostForum: General CCS C Discussion   Posted: Mon Apr 23, 2012 3:22 am   Subject: out of rom problem
The code:

#include <gps_main.h>
//#include <string.h>
#include <input.c>
#include <stdlib.h>
//Real time clock chip definitions
#define RTC_SCLK PIN_A0
#define RTC_IO ...
  Topic: Read a message over rs232
lasal

Replies: 4
Views: 8809

PostForum: General CCS C Discussion   Posted: Thu Apr 12, 2012 6:45 am   Subject: reading gps over rs232
I found a code as you said.

But I can't understand how it works. Can you help me with this?

///////////////////////////////////////////////////////////////////////////////
#include <string ...
  Topic: Read a message over rs232
lasal

Replies: 4
Views: 8809

PostForum: General CCS C Discussion   Posted: Wed Apr 11, 2012 10:45 pm   Subject: Read a message over rs232
I am trying to read a text over rs232 and extract a part of it and print the extracted portion on a 16*2 lcd.

This is the code:

#include <uart.h>
#include <string.h>

#define LCD_ ...
  Topic: 16*2 LCD cursor problem
lasal

Replies: 3
Views: 7216

PostForum: General CCS C Discussion   Posted: Thu Apr 05, 2012 10:53 am   Subject: 16*2 LCD cursor problem
I have to design a security code lock and in the code entering part i have to view and shift the lcd cursor. I'm using flex_lcd driver and I can't understand how to use the cursor. Please somebody hel ...
  Topic: Compiling multiple source files
lasal

Replies: 2
Views: 6897

PostForum: General CCS C Discussion   Posted: Tue Apr 03, 2012 11:34 pm   Subject: Compiling multiple source files
I need to split my source code in to pieces in order to maintain the simplicity but when compiling it gives number of errors.

Please somebody help me.

// main source file

#include <gps_mai ...
  Topic: Push buttons are not detected. Please help
lasal

Replies: 6
Views: 6993

PostForum: General CCS C Discussion   Posted: Wed Jan 25, 2012 5:20 pm   Subject: Push buttons are not detected. Please help
thank you for your explanation
  Topic: Push buttons are not detected. Please help
lasal

Replies: 6
Views: 6993

PostForum: General CCS C Discussion   Posted: Wed Jan 25, 2012 1:18 pm   Subject: Push buttons are not detected. Please help
i used pic16f877
  Topic: Push buttons are not detected. Please help
lasal

Replies: 6
Views: 6993

PostForum: General CCS C Discussion   Posted: Wed Jan 25, 2012 10:52 am   Subject: Push buttons are not detected. Please help
I have to design a clock using ds1302 for a project. My code is posted below. The problem is that I used 3 buttons from portb and the button push event is not detected. The code compiles with no error ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group