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 10 matches
CCS Forum Index
Author Message
  Topic: Help with making a 16F628A (or other chip) metronome!
FunkyLabRat

Replies: 6
Views: 11371

PostForum: General CCS C Discussion   Posted: Thu Mar 21, 2013 2:11 pm   Subject: Help with making a 16F628A (or other chip) metronome!
Thank you, but I've tried for many months to accomplish this, and of course I've used Google for searching and reading documents for a lot of hours on the subject.

There was one search result I hav ...
  Topic: Help with making a 16F628A (or other chip) metronome!
FunkyLabRat

Replies: 6
Views: 11371

PostForum: General CCS C Discussion   Posted: Thu Mar 21, 2013 12:42 pm   Subject: Help with making a 16F628A (or other chip) metronome!
Hi all,

I'm trying to make a metronome using the internal oscillator of a 16F628A. I have the option of using an external crystal if I should need one, but to keep things simple I'm trying it this ...
  Topic: 16F628A with MCP41010 problem
FunkyLabRat

Replies: 6
Views: 15492

PostForum: General CCS C Discussion   Posted: Thu Apr 19, 2012 1:02 pm   Subject: 16F628A with MCP41010 problem
To answer my own question: PIN_A4 is a open-drain pin and also can't be used for the Digipot.

I used pin A2 instead of A4:

#define CS PIN_A3
#define SCLK PIN_A2
#define SI PIN_B0


And now ...
  Topic: 16F628A with MCP41010 problem
FunkyLabRat

Replies: 6
Views: 15492

PostForum: General CCS C Discussion   Posted: Sun Apr 15, 2012 8:09 pm   Subject: 16F628A with MCP41010 problem
The force sensing foot switch is just a fancy 20K linear potentiometer. The B25K pot was just to show how the connections work fine.

The digipot now works, but I can't change it's step value. It se ...
  Topic: 16F628A with MCP41010 problem
FunkyLabRat

Replies: 6
Views: 15492

PostForum: General CCS C Discussion   Posted: Thu Apr 12, 2012 7:53 pm   Subject: 16F628A with MCP41010 problem
Thanks for your reply PCM Programmer.

I've checked the datasheet and pins before posting, but I couldn't find anything wrong with the RA5 pin. I totally overlooked that it can only be used as a inp ...
  Topic: 16F628A with MCP41010 problem
FunkyLabRat

Replies: 6
Views: 15492

PostForum: General CCS C Discussion   Posted: Thu Apr 12, 2012 2:33 pm   Subject: 16F628A with MCP41010 problem
Hi again everybody,

I'm trying to replace a foot switch (working with force-sensing resistors) with a MCP41010 digital potentiometer connected to a PIC 16F628A to control a device. It's connected w ...
  Topic: Transmitting MIDI messages with PIC16F628A doesn't work?
FunkyLabRat

Replies: 7
Views: 15596

PostForum: General CCS C Discussion   Posted: Tue Feb 14, 2012 10:50 pm   Subject: Transmitting MIDI messages with PIC16F628A doesn't work?
Don't forget to add a debounce routine, otherwise it may think you've sent multiple button presses.

Thanks. I'd already thought about that, but I'm not sure how sensitive the buttons and transmitti ...
  Topic: Transmitting MIDI messages with PIC16F628A doesn't work?
FunkyLabRat

Replies: 7
Views: 15596

PostForum: General CCS C Discussion   Posted: Mon Feb 13, 2012 7:02 pm   Subject: Transmitting MIDI messages with PIC16F628A doesn't work?
Wow, that worked!

Thank you very very much, PCM programmer! You've saved me from many troublesome head-spinning days and nights Very Happy

Next step is figuring out how to add some buttons etc.
  Topic: Transmitting MIDI messages with PIC16F628A doesn't work?
FunkyLabRat

Replies: 7
Views: 15596

PostForum: General CCS C Discussion   Posted: Mon Feb 13, 2012 4:25 pm   Subject: Transmitting MIDI messages with PIC16F628A doesn't work?
Do you have a 20 MHz crystal and two 22pf capacitors installed in the
recommended circuit configuration, on the two oscillator pins of the PIC ?
If you can't make something simple such as a blinking ...
  Topic: Transmitting MIDI messages with PIC16F628A doesn't work?
FunkyLabRat

Replies: 7
Views: 15596

PostForum: General CCS C Discussion   Posted: Mon Feb 13, 2012 1:36 am   Subject: Transmitting MIDI messages with PIC16F628A doesn't work?
Hi everybody! I'm very new to PIC programming. I've done my first projects with blinking LED's etc. a few days ago and it all worked fine.

Now I'm working on a new project where the PIC has to send ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group