PDA

View Full Version : MIBAM blinky on 16f628



ShoKre
- 9th December 2013, 11:05
Hi there,

I was experimenting with mibam on 15 pins on 16f628 @20mhz
it is working but a bit slow (blinky), is there any mibam option to use
7 bit BAM to raise refresh, or it don't give any result ?
128 (or even 64) steps would be absolutely enough....

what is your opinion, and if is possible, how we can
modify mibam code to obtain this ?

regards.

Darrel Taylor
- 9th December 2013, 19:29
It should be fine with 15 LED's on a chip running @ 20Mhz.

What does DEFINE BAM_INFO 1 show?

ShoKre
- 11th December 2013, 08:58
Hi, i have 143 hz, is not slow for static installation but we try to make crazy motorbike back light for my friend
(direction, stop etc) and when is faded leds make (POV) trail in drive, i know is better using some hardware pwm driver
but as we already put this, but we made only simulation for 15ch because don't have enough pins, now we remake it on
16f1827 which can do internal 32mhz, (2 pin more without resonator) and ha 4 hwpwm, so this combination probably will be better

I was wandering if leaving one bit out from mibam can alter refresh, or this does
to many changes in code ?, if is not more than remark few line then forget, we will try some r-c filters on output.
we only playing/experimenting with that, he had idea to fade lights at night, and make running paterns...

as i said play/experimenting, and learning, because that we wandered how/if would mibam work with one or two bit less....
i know maybe dummy, question, but could mibam work on external iex 74HC595 shift reg (or two) drived with hw MSSP ?? or too many variables :)
as already have my PBP-Idol responded :)

regards