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 12 matches
CCS Forum Index
Author Message
  Topic: Writing a function to check passwords
NickStout

Replies: 8
Views: 8571

PostForum: General CCS C Discussion   Posted: Fri Nov 18, 2005 4:44 pm   Subject: Writing a function to check passwords
int check_pw(int my_id) {

int i=0;
char pw[3][8]={{'a','b','c','d','e','f','g','h'},{'g','h','i','j','k','l','m','n'},{'o','p','q','r ...
  Topic: Writing a function to check passwords
NickStout

Replies: 8
Views: 8571

PostForum: General CCS C Discussion   Posted: Thu Nov 17, 2005 9:24 pm   Subject: Writing a function to check passwords
You're all right, but it's got to be something else... The PIC appears to be ignoring the RS232, even though the data is being sent.

At the end of my code, I added:
while (1) {
...
  Topic: Writing a function to check passwords
NickStout

Replies: 8
Views: 8571

PostForum: General CCS C Discussion   Posted: Thu Nov 17, 2005 5:10 pm   Subject: Writing a function to check passwords
I can't seem to get that to work either... hmm, I'll have to try a few other things to confirm that my hardware still works. :-p
  Topic: Writing a function to check passwords
NickStout

Replies: 8
Views: 8571

PostForum: General CCS C Discussion   Posted: Thu Nov 17, 2005 4:37 pm   Subject: Writing a function to check passwords
Hm, I'm trying to capture the data so I can check it. The get_string command only sends it back out, so that's not too useful here.
  Topic: Writing a function to check passwords
NickStout

Replies: 8
Views: 8571

PostForum: General CCS C Discussion   Posted: Thu Nov 17, 2005 3:55 pm   Subject: Writing a function to check passwords
I've got a small problem with some code I'm writing. I've got all the rest of the function correct, but this code is getting stuck in the loop and never finishing.

int check_pw(void) { ...
  Topic: Two RS232 signals on one USART
NickStout

Replies: 3
Views: 6170

PostForum: General CCS C Discussion   Posted: Tue Nov 15, 2005 11:24 am   Subject: Two RS232 signals on one USART
Hm, I was planning on using the hardware UART for both signals just to avoid setting up the software UART and interrupts. All I really want to do is ignore the incoming data on one line and allow the ...
  Topic: Two RS232 signals on one USART
NickStout

Replies: 3
Views: 6170

PostForum: General CCS C Discussion   Posted: Tue Nov 15, 2005 8:25 am   Subject: Two RS232 signals on one USART
Since I've had so much luck on the first help I got here, I figured I'd try again.
I've been searching the forums and I've found a few solutions for driving 2 signals on a single USART, but nothing t ...
  Topic: Structuring a database in memory
NickStout

Replies: 10
Views: 15957

PostForum: General CCS C Discussion   Posted: Mon Nov 14, 2005 10:57 pm   Subject: Structuring a database in memory
Wow! That's some fairly dense code.
Thank you very much for all of your patient help. I'm implementing this on a PIC16F877, so I probably can use the hardware USART and hack down some of that code. I ...
  Topic: Structuring a database in memory
NickStout

Replies: 10
Views: 15957

PostForum: General CCS C Discussion   Posted: Mon Nov 14, 2005 4:21 pm   Subject: Structuring a database in memory
As mentioned previously, the basics for this can be found in the bootloader

Now we're getting into more specific code.
The bootloader examples gather the "program" from the RS232 in hex (according ...
  Topic: Structuring a database in memory
NickStout

Replies: 10
Views: 15957

PostForum: General CCS C Discussion   Posted: Mon Nov 14, 2005 12:35 am   Subject: Structuring a database in memory
The program memory can be read and written as easily as the EEPROM and there is more than enough memory space on PICs to accommodate your data set as described.

I'm not quite sure I understand... s ...
  Topic: Structuring a database in memory
NickStout

Replies: 10
Views: 15957

PostForum: General CCS C Discussion   Posted: Thu Nov 10, 2005 8:45 am   Subject: Structuring a database in memory
How large is 'large'?...

There should only be 5 or so "sets" of data. The tags only come in 8-byte segments, which I've determined I need to compare byte-by-byte to an incoming serial buffer. The n ...
  Topic: Structuring a database in memory
NickStout

Replies: 10
Views: 15957

PostForum: General CCS C Discussion   Posted: Wed Nov 09, 2005 11:52 pm   Subject: Structuring a database in memory
Hello,
I'm still VERY new to PIC programming, and I want to tackle what seems to be a very challenging topic: storing of a table of information in memory.

Right now, I have a list of five or six 8 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group