Author |
Message |
Topic: testing a bit in a byte array |
tkidder
Replies: 1
Views: 3599
|
Forum: General CCS C Discussion Posted: Fri Jul 27, 2007 1:20 pm Subject: testing a bit in a byte array |
I am working on an industrial application using 18f4520. On every encoder pulse a bit is shifted into an array of 500 8bit integers, either a 1 indicating an error or a 0 indicating no error. On each ... |
Topic: get_string problem |
tkidder
Replies: 1
Views: 6637
|
Forum: General CCS C Discussion Posted: Fri Mar 30, 2007 8:52 am Subject: get_string problem |
using 18f452 in a barcode application.
To find the current mastercode in the barcode scanner i send
the serial command.
printf("<M1>");
The scanner responds with a serial string ... |
Topic: storing strings in eeprom |
tkidder
Replies: 4
Views: 6093
|
Forum: General CCS C Discussion Posted: Fri Mar 09, 2007 7:10 am Subject: storing strins in eeprom |
I am using, get_string(barcode); to get the data from the scanner.
into char code[20];
are there any examples of how to store this string in eeprom? I assume i would need to store each character in ... |
Topic: storing strings in eeprom |
tkidder
Replies: 4
Views: 6093
|
Forum: General CCS C Discussion Posted: Thu Mar 08, 2007 7:30 pm Subject: storing strings in eeprom |
I have a barcode reader application that gets ascii data , up to 20 characters
that are all numeric, "0012345678905" for example. I need to store these codes in internal eeprom memory, 18f4 ... |
Topic: sending serial data to 6 digit display |
tkidder
Replies: 2
Views: 5905
|
Forum: General CCS C Discussion Posted: Sun Feb 18, 2007 4:59 pm Subject: tkidder |
Intercharacter delay necessary, needed a min of 5ms.
Many Thanks for help |
Topic: sending serial data to 6 digit display |
tkidder
Replies: 2
Views: 5905
|
Forum: General CCS C Discussion Posted: Sun Feb 18, 2007 12:34 pm Subject: sending serial data to 6 digit display |
I recently got a large six digit 7 segment led display from a company called siliconcraft. I have been working for 2 days trying to get it to work.
a VB6 program that works sends data out the seria ... |
Topic: 18f452 low voltage interrupt |
tkidder
Replies: 6
Views: 6573
|
Forum: General CCS C Discussion Posted: Thu Oct 05, 2006 6:02 am Subject: low voltage interrupt |
sorry my fault. I thought the interrupt would be triggered by an external voltage on the LVDIN pin. The int is actually caused by the voltage falling on the VDD to the chip. |
Topic: 18f452 low voltage interrupt |
tkidder
Replies: 6
Views: 6573
|
Forum: General CCS C Discussion Posted: Tue Oct 03, 2006 11:48 am Subject: low voltage interrupt |
I bought the latest compiler. Still cant get interrupt to occur.
Used the posted program as well as wizard generated project. |
Topic: 18f452 low voltage interrupt |
tkidder
Replies: 6
Views: 6573
|
Forum: General CCS C Discussion Posted: Wed Sep 27, 2006 11:34 am Subject: low voltage detect |
I tried suggested program. I get an error "setup_low_volt_detect ( )
is undefined. |
Topic: 18f452 low voltage interrupt |
tkidder
Replies: 6
Views: 6573
|
Forum: General CCS C Discussion Posted: Wed Sep 27, 2006 9:21 am Subject: 18f452 low voltage interrupt |
I cant get the low voltage interrupt to work. I have a 5volt pot wiper to LVDIN pin A5. I used the wizard to make my project.
#include "C:\CCS Programs\New lowv3\lowv.h"
#include <L ... |
Topic: parsing strings |
tkidder
Replies: 1
Views: 4482
|
Forum: General CCS C Discussion Posted: Tue Dec 13, 2005 1:49 pm Subject: parsing strings |
I am trying to parse a variable length string being returned by a barcode scanner. The string can be up to 20 characters long. for example: "<12345>678321". I need to capture only the characters ... |
|