lukeee wrote:Hi, I'm working on a project in college and I've based it on your Propeller clock. Which is great btw, its the only one I've found that is detailed and guided so well.
I'm making a PCB instead of wire-wrapping and I've come across a couple of problems..
I couldn't work out from your pictures or schematic which 74ls373 held the LEDs farthest away from the centre. is it the one connected to RB5 or RB4? I really need to know this because I'm taking away the last 3 LEDs as you did, and I don't want to remove the ones of the wrong 74ls373. The picture should explain what I'm on about. If you could get back to me that would be great.
In the software I defined the 16 leds (even though only 13 are used) as 8 bits upper (high byte) and 8 bits lower (low byte)
Code: Select all
#define LED_LATCH_H PORTBbits.RB4
#define LED_LATCH_L PORTBbits.RB5
The bit to enable or clock inputs to outputs on the 74_373/374 for the lower 8 bits is RB5.
The bit to enable or clock inputs to outputs on the 74_373/374 for the upper 8 bits (in my design i only used 5 of these bits) is RB4.
I REALLY, REALLY recommend that you get comfortable the software because you will likely need to tune it for your specific cpu fan or spinning motor.