Hi,
I need some help to resolve the following problem iI faced making the 3x3x3 LED cube,
I have built the cube as described on this site http://elbotics.blogspot.com/2011/12/pi ... -cube.html with 16f84a and it worked fine. Then I tried to modify the assembly code to use 16f628a. With the new code cube works for nearly one minute and then it stops at one random LED pattern. Can anybody guess what would be the problem? I used RB0-RB7 & RA0 for LEDs and RA1-RA3 for layers as given in the schematics.
3x3x3 LED Cube problem
Moderator: phalanx
Re: 3x3x3 LED Cube problem
Compare data sheets to see what is different between those two PICs.
Use the MPLAB Simulator to debug the code.
Use the MPLAB Simulator to debug the code.
Re: 3x3x3 LED Cube problem
Yes, I made some modifications to the code. I simulated it with Proteus. It gave me the following simulation log.

