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 18 matches
CCS Forum Index
Author Message
  Topic: HCMS-2903 5X7 Display
williefeb_19

Replies: 5
Views: 8825

PostForum: General CCS C Discussion   Posted: Thu Apr 02, 2009 2:51 am   Subject: HCMS-2903 5X7 Display
It seem like it would be easer if I could get ascii to work. I have been trying to modify the code from the GLCD.C but I can not get it working. Dose anyone have any suggestions.

char textptr[ ...
  Topic: HCMS-2903 5X7 Display
williefeb_19

Replies: 5
Views: 8825

PostForum: General CCS C Discussion   Posted: Sun Mar 29, 2009 8:23 pm   Subject: HCMS-2903 5X7 Display
I've looked over glcd.c my skills with C are not advanced enough yet to write that kind of driver. I get what most of it is doing but not all of it. I have been able to get the 2d array working and am ...
  Topic: HCMS-2903 5X7 Display
williefeb_19

Replies: 5
Views: 8825

PostForum: General CCS C Discussion   Posted: Fri Mar 27, 2009 9:26 pm   Subject: HCMS-2903 5X7 Display
I have look at the links but I don't understand how I would do that sort of thing with this dot matrix display. It has to load five sets of binary or hex for one digit and there are four of them. Woul ...
  Topic: HCMS-2903 5X7 Display
williefeb_19

Replies: 5
Views: 8825

PostForum: General CCS C Discussion   Posted: Fri Mar 27, 2009 4:19 am   Subject: HCMS-2903 5X7 Display
I am using a PIC 16f690 and trying to use a HCMS-2903 display. I have been able to display characters on the display.
Heres an example of what i got:#include <16F690.h>
#device adc=10
#fuses ...
  Topic: LIS302DL Accelerometer
williefeb_19

Replies: 12
Views: 21010

PostForum: General CCS C Discussion   Posted: Sun Feb 08, 2009 2:26 am   Subject: LIS302DL Accelerometer
I have been looking at the data sheet. This is only the second SPI device I have used. The other device I only had to write to and never read. (http://ccsinfo.com/forum/viewtopic.php?t=34559&highl ...
  Topic: LIS302DL Accelerometer
williefeb_19

Replies: 12
Views: 21010

PostForum: General CCS C Discussion   Posted: Sat Feb 07, 2009 1:05 am   Subject: LIS302DL Accelerometer
Xdata = Acc_Read_Register(0x29);

Sorry about that the code was there when I was testing, just missed it when I copy and pasted. I've added it to the above source.
  Topic: LIS302DL Accelerometer
williefeb_19

Replies: 12
Views: 21010

PostForum: General CCS C Discussion   Posted: Fri Feb 06, 2009 2:07 am   Subject: LIS302DL Accelerometer
Here's my Updated code and I am still getting 255 on the LCD. I think I am going to order another one and give it another try.

#include <16f690.h>
//#device adc=10
#fuses HS, PUT, NOWDT, br ...
  Topic: LIS302DL Accelerometer
williefeb_19

Replies: 12
Views: 21010

PostForum: General CCS C Discussion   Posted: Thu Feb 05, 2009 3:13 am   Subject: LIS302DL Accelerometer
Thank you both for replying.

I have been trying the bitwise OR with no success. The NOP statement doesn’t make any difference either. I am starting to think that the LIS302DL may be bad. I have ...
  Topic: LIS302DL Accelerometer
williefeb_19

Replies: 12
Views: 21010

PostForum: General CCS C Discussion   Posted: Wed Feb 04, 2009 1:13 am   Subject: LIS302DL Accelerometer
Hello, I am trying to get a PIC 16F690 to communicate with an LIS302DL Accelerometer through SPI interface. I have been trying all the things I can think of but am unable to get them to talk to each o ...
  Topic: Help optimizing code for LED scrolling sign
williefeb_19

Replies: 19
Views: 22018

PostForum: General CCS C Discussion   Posted: Sat Apr 26, 2008 9:41 pm   Subject: Help optimizing code for LED scrolling sign
Ok, I will give some of those a try. It maybe a while sense my schedule is kind of getting full.
  Topic: Help optimizing code for LED scrolling sign
williefeb_19

Replies: 19
Views: 22018

PostForum: General CCS C Discussion   Posted: Fri Apr 25, 2008 5:07 pm   Subject: Help optimizing code for LED scrolling sign
ckielstra,

I tried the code you have posted, it works and doesn’t use as much resources as previous code. I'll try to figure out exactly how it's working a little bit later today.

thanks agian
  Topic: Help optimizing code for LED scrolling sign
williefeb_19

Replies: 19
Views: 22018

PostForum: General CCS C Discussion   Posted: Fri Apr 25, 2008 10:44 am   Subject: Help optimizing code for LED scrolling sign
i am just doing this project so i can learn C so there isnt anything im doing that is truly needed. Changing the text isnt that important to me id rather see if i can get a longer message.


I was ...
  Topic: Help optimizing code for LED scrolling sign
williefeb_19

Replies: 19
Views: 22018

PostForum: General CCS C Discussion   Posted: Wed Apr 23, 2008 2:38 pm   Subject: Help optimizing code for LED scrolling sign
So, if I get an 18F series PIC the string will only be limited by the amount of memory available?

If I wanted to be able to change the message using an interface on the PIC (left, right, up, down a ...
  Topic: Help optimizing code for LED scrolling sign
williefeb_19

Replies: 19
Views: 22018

PostForum: General CCS C Discussion   Posted: Wed Apr 23, 2008 6:54 am   Subject: Help optimizing code for LED scrolling sign
Matro,

That does help make things clearer.

Thanks again
  Topic: Help optimizing code for LED scrolling sign
williefeb_19

Replies: 19
Views: 22018

PostForum: General CCS C Discussion   Posted: Tue Apr 22, 2008 10:39 pm   Subject: Help optimizing code for LED scrolling sign
I’ve been reading some of the links posted and these two seem to do what I want to do but I can’t figure out how to implement it.
Like I said in the first post I am new to C programming. I’ve ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group