Author Topic: Tap Tempo LFO. Call to PIC people (I know you are out there!)  (Read 1586 times)

alparent

Tap Tempo LFO. Call to PIC people (I know you are out there!)
« on: August 07, 2015, 08:59:28 PM »
OK, this is knot really a new topic but I'm trying a new approach to my old problem.

First, I want to take this code http://www.electricdruid.net/code/TAPLFO2D.ASM and remove everything tat as to do with the clock output function (cause I want to use pin7 for something else.)

Second I want to use the freed Pin7 to control a 74HC595 using Roman Black shift1 http://www.romanblack.com/shift1.htm

This Pin7 will control the shift register and change LEDs every time the tempo multiplier is changed. (So I will be able to ID  what multiplier is in effect. (Quarter note, eighth note, etc)

This is my first try at PIC. Been learning a lot in the last couple of weeks, but assembler is not so easy!

Got myself PICKit3 and learned a lot. Spent the last 2 weeks at the RV and it rained the last week, so I had lot's of time to play with it.

But I can't wrap my head around what I need to do to get my project going.

Help from anybody would be more then appreciated.

Anything .......

Thanks.



SISKO

Re: Tap Tempo LFO. Call to PIC people (I know you are out there!)
« Reply #1 on: August 08, 2015, 09:02:44 PM »
I havent read the whole code but the first thing i would do is to modificate this line

#define CLOCK_OUT PORTC, 3   ; Clock Pulse Output

It seems that CLOCK_OUT is used in the code so instead of erasing that line you may have to create a variable named CLOCK_OUT

Variables are created in the variables segment.

Then, the output of the shift1 would need to be sent to RC3
--Is there any body out there??--