Could someone compile a C program for me?

Status
Not open for further replies.
some the pic 16's have a periph that overlays a signal with sign wave, or the other way round, I cant remember
 
Are you talking about the capacitance module, or is this something I've not heard of yet.

I'm developing my own slot protocol, seems that switching the track polarity using a H bridge and an rs232 signal is a good enough way to do it, instead of a preamble I'm just going to use words with bit 7 set for instructions and bit 7 clear for data.
 
no not the CTMU, I looked at it when I was looking at how they do DCC systems for model railway, I cant remember the name of the peripheral, but I do remember it was on a pic16 as I use 18f as the norm. Also I remember something about it encoding a dc signal over a AC waveform or something. I am betting if I troll through my pics I will find the chip, then I can look at the datasheet! I am pretty sure I did get hold of a sample but decided against it, mainly because I was used to 18f, and at the time 16f seemed a bit alien
 
Are you talking about the DSM on the pic16f1825

The Data Signal Modulator... I'm not sure if you could drive trains off the carrier though..
 
yes it was that! the idea was to see if it could send commands to the chip in the train, like the DCC system, I wasnt going to power anything with it as such.
But anyway it was dropped for something else ,and I have not had chance to set anything up, once I knew we were moving, it all got packed away and I stopped work on it. I still havnt unpacked most of it let alone work on it. but yeah well done! that was exactly what I was talking about no idea if it is any good for what you want tho
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…