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: Need help in creating pulse counter
yoonees

Replies: 5
Views: 6819

PostForum: General CCS C Discussion   Posted: Tue Jul 28, 2009 10:14 pm   Subject: Need help in creating pulse counter
Just to add, the reason why I used the delays in the codes is because sometimes there are unwanted short pulses (something like bouncing in button pushes).
  Topic: Need help in creating pulse counter
yoonees

Replies: 5
Views: 6819

PostForum: General CCS C Discussion   Posted: Tue Jul 28, 2009 8:35 pm   Subject: Need help in creating pulse counter
How long does the pulse go low ?

You mean the period between 2 high pulses? It's about 400 - 500 ms.
  Topic: Need help in creating pulse counter
yoonees

Replies: 5
Views: 6819

PostForum: General CCS C Discussion   Posted: Tue Jul 28, 2009 7:44 pm   Subject: Need help in creating pulse counter
Are you counting button pushes ? Here's a program that will
debounce pushbuttons, and record the keypresses in a buffer.
It's interrupt-driven, so it's suitable for multi-tasking:
http://www.ccs ...
  Topic: Need help in creating pulse counter
yoonees

Replies: 5
Views: 6819

PostForum: General CCS C Discussion   Posted: Tue Jul 28, 2009 10:04 am   Subject: Need help in creating pulse counter
Hi all,

I'm trying to create a pulse counter to count pulses for 15 seconds and the value will be displayed on an LCD. This value will be refreshed every 15 seconds. Earlier, I modified PCM program ...
  Topic: Weird MMC FAT16 Behaviour
yoonees

Replies: 4
Views: 7338

PostForum: General CCS C Discussion   Posted: Sat Jul 18, 2009 1:29 am   Subject: Weird MMC FAT16 Behaviour
While looking through the format() function in the fat.c driver, I noticed something. In line 2919,
char BS_FilSysType[] = "FAT12 ";

Isn't it supposed to be:
char BS_FilSysTyp ...
  Topic: Weird MMC FAT16 Behaviour
yoonees

Replies: 4
Views: 7338

PostForum: General CCS C Discussion   Posted: Thu Jul 16, 2009 9:00 pm   Subject: Weird MMC FAT16 Behaviour
Master Boot Record
I google that MBR

So the MBR contain all the info on the structure of the card, size, how many sector, etc. )

so if we screw up the MBR, the SD card is a BIG eeprom! When we ...
  Topic: Problem ex_fat.c unable to create file/directory on MMC card
yoonees

Replies: 11
Views: 21367

PostForum: General CCS C Discussion   Posted: Thu Jul 16, 2009 8:51 pm   Subject: Problem ex_fat.c unable to create file/directory on MMC card
When I try to format my 8MB SD card, it does not work:
/> format 8192
Formatting media (size=8192): Error formatting media

1024 * 8 = 8192

I can still write stuff on it.

I ca ...
  Topic: Weird MMC FAT16 Behaviour
yoonees

Replies: 4
Views: 7338

PostForum: General CCS C Discussion   Posted: Wed Jul 15, 2009 8:59 am   Subject: Weird MMC FAT16 Behaviour
Hello all,

I managed to get ex_fat.c from the PICC library working. Currently, I'm experiencing the same problem as matt1971 (http://www.ccsinfo.com/forum/viewtopic.php?t=36580). I'm able to write ...
  Topic: Problem ex_fat.c unable to create file/directory on MMC card
yoonees

Replies: 11
Views: 21367

PostForum: General CCS C Discussion   Posted: Tue Jul 14, 2009 2:32 am   Subject: Problem ex_fat.c unable to create file/directory on MMC card
So you are simply using ex_fat.c connected to hyperterminal?

Yes. Don't forget to change the CS, DataIn, DataOut and CLK pins on ex_fat.c and mmcsd.c to suit your microcontroller type. Wink


...
  Topic: Problem ex_fat.c unable to create file/directory on MMC card
yoonees

Replies: 11
Views: 21367

PostForum: General CCS C Discussion   Posted: Mon Jul 13, 2009 1:31 am   Subject: Problem ex_fat.c unable to create file/directory on MMC card
Hi guys,

I'm still struggling to get this to work. Any help/ideas/suggestions would be greatly appreciated! Smile

My main objective is to be able to use the microcontroller as a datalogger and the ...
  Topic: Problem ex_fat.c unable to create file/directory on MMC card
yoonees

Replies: 11
Views: 21367

PostForum: General CCS C Discussion   Posted: Wed Jul 01, 2009 9:45 pm   Subject: Problem ex_fat.c unable to create file/directory on MMC card
Hi ckielstra,

Thank you so much for replying! Smile Smile

I'm sorry I forgot to mention in the previous post that the codes are from the PICC/Examples folder (ex_fat.c or fat_ex_shell.c). I just modi ...
  Topic: Problem ex_fat.c unable to create file/directory on MMC card
yoonees

Replies: 11
Views: 21367

PostForum: General CCS C Discussion   Posted: Wed Jul 01, 2009 4:18 am   Subject: Problem ex_fat.c unable to create file/directory on MMC card
Hi all,

I'm having some problems getting ex_fat.c from the PICC Examples folder to work. Here are the details:

Compiler version: PCWHD 4.057
PIC processor: PIC18F4550
Clock frequency: 20MHz ex ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group