Author |
Message |
Topic: Piezo sensors |
Ikk06
Replies: 6
Views: 6640
|
Forum: General CCS C Discussion Posted: Thu Mar 18, 2010 8:05 am Subject: Piezo sensors |
The fuses are in a different file which is included into this one.
#include <18F4420.h>
#FUSES NOWDT //No Watch Dog Timer
#FUSES INTRC_IO //High speed O ... |
Topic: Piezo sensors |
Ikk06
Replies: 6
Views: 6640
|
Forum: General CCS C Discussion Posted: Wed Mar 17, 2010 10:46 am Subject: Piezo sensors |
What I am basically building is a drum kit using a piezo sensor which is connected to the circuit and then onto the computer via a midi cable. What I want the code to do is when the sensor is hit it ... |
Topic: Piezo sensors |
Ikk06
Replies: 6
Views: 6640
|
Forum: General CCS C Discussion Posted: Wed Mar 17, 2010 10:08 am Subject: Piezo sensors |
This is the code that I currently have to setup the adc and read from it the digital value. Based on this value I want to send a diffrent output to the computer via the midi calbe. Have I set this up ... |
Topic: Piezo sensors |
Ikk06
Replies: 6
Views: 6640
|
Forum: General CCS C Discussion Posted: Tue Mar 16, 2010 7:40 pm Subject: Piezo sensors |
Hi
I was building a drum kit using piezo sensors. I am using a pic 18f4420 with an analogue to digital input. The circuit is connected to the computer using a midi usb cable. I am using putc() to ... |
Topic: How to initialize a uart |
Ikk06
Replies: 3
Views: 7139
|
Forum: General CCS C Discussion Posted: Wed Dec 02, 2009 8:56 am Subject: How to initialize a uart |
When I checked the datasheet for my pic it said that I had to initialize the SPBRGH and the TXSTA. Is that not required to get the pic to send a message to the pc?
What if you wanted to connect ano ... |
Topic: How to initialize a uart |
Ikk06
Replies: 3
Views: 7139
|
Forum: General CCS C Discussion Posted: Mon Nov 30, 2009 12:28 pm Subject: How to initialize a uart |
Hi I am new to pic c programming and I was wondering if anybody knows how to initialize the uart for asynchronous transmission on the pic18f252. |
|