Tetris on a PIC

Post here to let others know of a project you're working on.

Moderators: Chuckt, Garth, bitfogav

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Tetris on a PIC

Post by brad » Mon Sep 17, 2012 7:42 am

Is the fire out yet?

MrDEB
I practically live here!
I practically live here!
Posts: 372
Joined: Fri Feb 18, 2011 4:24 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Tetris on a PIC

Post by MrDEB » Mon Sep 17, 2012 12:18 pm

Its still burning. If you go online and search for mustang complex fire you will see just how big this fire is.
I'm not bothered by the smoke itself but whats in the smoke. The fuel (trees etc) are emitting lots of allergens in the air. I can't consecrate on my project much. Took to many allergy pills (followed directions) but the jellcap didn't like me.
Going to remove the two ULN2803 and attempt to blink an LED on each output pin. Hopefully I can find out why some do not go high. Weak pullups or maybe a short on the board?

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Tetris on a PIC

Post by brad » Mon Sep 17, 2012 10:17 pm

Did you try each output pin with a logic probe?

MrDEB
I practically live here!
I practically live here!
Posts: 372
Joined: Fri Feb 18, 2011 4:24 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Tetris on a PIC

Post by MrDEB » Tue Sep 18, 2012 6:20 am

I got all the pins to work after I put the utils.bas and setalldigital.
Now trying to get the red leds to mix it up with the green leds.
Having the first 4 rows on porta and the 3 rows on portb, need to combine the two. Thinking scan the rows 1-4 (portA in a for next loop then scan portB in a for next loop.
Another issue is manipulating the bits. Keep getting an over-range error?
will hack at it making progress. Found if I step away and come back to it later I can make a little progress.
will post my revised code after I clean it up.

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Tetris on a PIC

Post by brad » Tue Sep 18, 2012 5:10 pm

I will go check out your other post.

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Tetris on a PIC

Post by brad » Tue Sep 18, 2012 5:11 pm

I will go check out your other post.

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 12 guests