Author |
Message |
Topic: Store Strings in Array for Comparison |
ds
Replies: 4
Views: 6926
|
Forum: General CCS C Discussion Posted: Wed Mar 31, 2010 2:38 pm Subject: Store Strings in Array for Comparison |
This works great! However, how do I make it so that I can add keys without reprogramming to chip? How can I expand the array within the program? Or is this something better suited with another method? ... |
Topic: Store Strings in Array for Comparison |
ds
Replies: 4
Views: 6926
|
Forum: General CCS C Discussion Posted: Tue Mar 30, 2010 11:32 am Subject: Store Strings in Array for Comparison |
Thanks for the quick reply! This helps. I will take a look at it and try something out!
Thanks again!
DS. |
Topic: Store Strings in Array for Comparison |
ds
Replies: 4
Views: 6926
|
Forum: General CCS C Discussion Posted: Mon Mar 29, 2010 11:27 pm Subject: Store Strings in Array for Comparison |
Hi all,
I am working on an RFID reader module using a PIC16F688. I have the chip reading the serial data correctly and it can correctly identify a key. The only problem is that currently I have only ... |
Topic: Serial Port Funny Business |
ds
Replies: 2
Views: 3853
|
Forum: General CCS C Discussion Posted: Fri Mar 26, 2010 9:20 pm Subject: Serial Port Funny Business |
Hi all,
So I got my PIC16F688 talking to my computer via serial port! Yay!! For a test I have made a simple program to turn a led on and off at 500ms intervals. Depending on where I put the printf st ... |
Topic: Software Serial Similar to Arduino |
ds
Replies: 4
Views: 7209
|
Forum: General CCS C Discussion Posted: Wed Mar 24, 2010 7:43 pm Subject: Software Serial Similar to Arduino |
Wow thanks so much guys!
This is another reason I want to try to stick with CCS vs go towards Arduino.
CCS has such a great database of information, especially on this forum! Arduino definitely ha ... |
Topic: Software Serial Similar to Arduino |
ds
Replies: 4
Views: 7209
|
Forum: General CCS C Discussion Posted: Wed Mar 24, 2010 5:57 pm Subject: Software Serial Similar to Arduino |
Hi there,
I was wondering if there are any drivers or methods to efficiently create a software serial on a PIC similar to the one the Arduino is capable of:
http://www.arduino.cc/en/Tutorial/Softw ... |
Topic: get_string for RFID |
ds
Replies: 15
Views: 18067
|
Forum: General CCS C Discussion Posted: Fri Nov 06, 2009 1:28 pm Subject: get_string for RFID |
Thanks for the tip Jerson! I got the lcd to display each set of data stored in the array for string. The first bit is in fact a 10 (which corresponds to a \n]). The last bit is a 0. This is because of ... |
Topic: get_string for RFID |
ds
Replies: 15
Views: 18067
|
Forum: General CCS C Discussion Posted: Fri Nov 06, 2009 12:20 am Subject: get_string for RFID |
I tried that and it actually just prints the code on the top line first, then the second time around and subsequent times it keeps displaying on the bottom. I'm thinking there is a \n being read in. ... |
Topic: get_string for RFID |
ds
Replies: 15
Views: 18067
|
Forum: General CCS C Discussion Posted: Thu Nov 05, 2009 10:30 pm Subject: get_string for RFID |
Thanks so much for the help ckielstra! I tried the code and it works! However, the \n (0x0A) carried in by the first bit is causing the display output to be on a new line! I have been trying to throw ... |
Topic: get_string for RFID |
ds
Replies: 15
Views: 18067
|
Forum: General CCS C Discussion Posted: Thu Nov 05, 2009 8:15 pm Subject: get_string for RFID |
This extra "2" is really starting to bother me! Jerson, how do you suggest I get rid of the 0X0A? How big should my string length char array be if the string is only meant to be 10 useful ch ... |
Topic: get_string for RFID |
ds
Replies: 15
Views: 18067
|
Forum: General CCS C Discussion Posted: Thu Nov 05, 2009 5:17 pm Subject: get_string for RFID |
I've added ERRORS to the RS232 and it seems to have solved the problem of the lockup! Thanks!
Now the problem is: the card ID is: 220056CDD6 ... which is 10 digits. Perfect.
However on the disp ... |
Topic: get_string for RFID |
ds
Replies: 15
Views: 18067
|
Forum: General CCS C Discussion Posted: Thu Nov 05, 2009 10:42 am Subject: get_string for RFID |
Thanks guys! Right now I don't really have the means to connect to pc. My Max232 chips are coming in, and I don't have my serial to usb. I am pretty sure that the hang up is in the get_String. So mayb ... |
Topic: get_string for RFID |
ds
Replies: 15
Views: 18067
|
Forum: General CCS C Discussion Posted: Thu Nov 05, 2009 1:20 am Subject: get_string for RFID |
yes I am sure. I think the get_string() command is the hang up. For some reason it only likes to go through once! I've tested various parts of the code using my lcd and a debugger. Is there some sort ... |
Topic: get_string for RFID |
ds
Replies: 15
Views: 18067
|
Forum: General CCS C Discussion Posted: Wed Nov 04, 2009 10:45 pm Subject: get_string for RFID |
Hi all,
so I have successfully read an RFID tag with a PIC. Only problem is that it only reads the string from the RFID reader once. I have a loop set up that would make it read over and over again. ... |
Topic: RFID serial string |
ds
Replies: 0
Views: 2561
|
Forum: General CCS C Discussion Posted: Sun Nov 01, 2009 1:06 pm Subject: RFID serial string |
Hi all,
I want to create a custom RFID tag system. I am looking at the parallax rfid reader. It sends a signal via RS232 serial ASCII string to the pic. I am fairly new to programming with PICs and C ... |
|