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 22 matches
CCS Forum Index
Author Message
  Topic: HELP WITH WIEGAND DATA READ!
janiga

Replies: 3
Views: 5337

PostForum: General CCS C Discussion   Posted: Sun Apr 29, 2007 11:21 am   Subject: Update
Using 3.242 again and updated with link to what is actually being read. I get buffer read and write but data is not proper.

Thanks!
  Topic: HELP WITH WIEGAND DATA READ!
janiga

Replies: 3
Views: 5337

PostForum: General CCS C Discussion   Posted: Sun Apr 29, 2007 3:35 am   Subject: HELP WITH WIEGAND DATA READ!
Can someone see this code for errors. I am reading two inputs, one is data high one is data low. I need pulses 2 thru 25 (24 bit number) for my data. I have spent fustrating endless hours without su ...
  Topic: SPI EEPROM WRITE PROBLEM, READING SEEMS OK NOT SURE!
janiga

Replies: 8
Views: 12839

PostForum: General CCS C Discussion   Posted: Mon Apr 23, 2007 12:29 am   Subject: OOOPS!
Update

// 25LC1024 DRIVER VERSION 1

#ifndef EEPROM_SELECT

#define EEPROM_SELECT PIN_A2
#define EEPROM_CLK PIN_A3
#define EEPROM_DI PIN_A4
#define EEPROM_DO PIN_A5

#endif
...
  Topic: SPI EEPROM WRITE PROBLEM, READING SEEMS OK NOT SURE!
janiga

Replies: 8
Views: 12839

PostForum: General CCS C Discussion   Posted: Sun Apr 22, 2007 9:09 pm   Subject: 25LC1024 driver
Very Happy Smile Very Happy Smile Very Happy Smile Crying or Very sad Crying or Very sad Crying or Very sad Razz

Here is the code that seems to be working.
If anyone can elaborate more to this please feel free!

#define EEPROM_ADDRESS long in ...
  Topic: SPI EEPROM WRITE PROBLEM, READING SEEMS OK NOT SURE!
janiga

Replies: 8
Views: 12839

PostForum: General CCS C Discussion   Posted: Sun Apr 22, 2007 5:26 pm   Subject: help
Compiler ver. 4.018

Driver:

// 25LC1024 DRIVER VERSION 1

#ifndef EEPROM_SELECT

#define EEPROM_SELECT PIN_B0
#define EEPROM_CLK PIN_B1
#define EEPROM_DI PIN_B2
#define EEPROM_D ...
  Topic: SPI EEPROM WRITE PROBLEM, READING SEEMS OK NOT SURE!
janiga

Replies: 8
Views: 12839

PostForum: General CCS C Discussion   Posted: Sun Apr 22, 2007 8:57 am   Subject: SPI EEPROM WRITE PROBLEM, READING SEEMS OK NOT SURE!
HELLO,
I AM USING A 16F917 CONNECTED TO 25LC1024 WHICH IS VERY FAMILIAR WITH 25LC640.
I MODDED THE DRIVER SUPPLIED BY CCS AND MODIFIED THE SIZE OF EEPROM TO 131072 AND CHANGED THE FOR LOOPS FROM 32 ...
  Topic: Help with INPUT bit read
janiga

Replies: 1
Views: 5532

PostForum: General CCS C Discussion   Posted: Thu Jun 15, 2006 3:38 pm   Subject: Help with INPUT bit read
Hello,
I am interfacing a card reader with my project and am having a bit of trouble figuring out how to store the data read into my variable.
I am reading data on two pins my question is, as my pin ...
  Topic: Storing number problem
janiga

Replies: 6
Views: 10738

PostForum: General CCS C Discussion   Posted: Tue May 30, 2006 9:37 am   Subject: Reply
Code works fine with any number up to 10000, i havent tryied to get an exact count of where to error begins but with 10k its fine however when i tried 100000 and higher it did not work.
  Topic: Storing number problem
janiga

Replies: 6
Views: 10738

PostForum: General CCS C Discussion   Posted: Tue May 30, 2006 9:05 am   Subject: Storing number problem
Hello,
I am trying to store and read an incrementing number that will eventually reach into the 100s of thousands. This is for a cycle counter for a machine. I am using the write and read eeprom but ...
  Topic: Problem with strings
janiga

Replies: 3
Views: 5647

PostForum: General CCS C Discussion   Posted: Tue May 09, 2006 9:31 am   Subject: Thanks!
I have tried and will now leave the if(strcmp(inputin,password)==0)
however it has always done the same thing, it still accepts other passwords! Any other suggestions.
  Topic: Problem with strings
janiga

Replies: 3
Views: 5647

PostForum: General CCS C Discussion   Posted: Tue May 09, 2006 8:13 am   Subject: Problem with strings
Hello,
I am interfacing with VB and code is not consistent, I am sending word "hello" followed by 13 and it is being accepted by the PIC and prints on lcd and sends back to PC. The problem is if i ch ...
  Topic: Rs232 & hyperterminal
janiga

Replies: 1
Views: 7305

PostForum: General CCS C Discussion   Posted: Mon May 01, 2006 5:01 pm   Subject: Rs232 & hyperterminal
Hello

How can i see the printf"hello" on my pc. I have connected an interface but i am not sure what the settings ought to be in hyperterminal. I can see the data on pin c6 with my scope but nothi ...
  Topic: TOIF problem
janiga

Replies: 3
Views: 5472

PostForum: General CCS C Discussion   Posted: Sat Apr 22, 2006 3:15 pm   Subject: Thanks!
You are right i did not define the bit on the 917!

Oh well, thanks

Pedro.

PS
yes i know i can use the isr routine.
  Topic: TOIF problem
janiga

Replies: 3
Views: 5472

PostForum: General CCS C Discussion   Posted: Sat Apr 22, 2006 1:28 pm   Subject: TOIF problem
Hello,
i was using a pic16f914 and had to switch to a pic16f917 because of rom size. I loaded the program and when compiling i am getting an error that TOIF is an undefined identifier. It worked fin ...
  Topic: PWM Problem
janiga

Replies: 2
Views: 4397

PostForum: General CCS C Discussion   Posted: Fri Apr 21, 2006 6:00 pm   Subject: Thanks Again!
I had to switch to pin C5 which on my processor is the ccp1 pin. It works great and am implementing PWM and getting rid of all the while loops that simulated PWM!

Again Thank You!

Pedro Very Happy
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group