Jump to content

Recommended Posts

Posted

Hi TK,

I've been fooling around with the above example application and have discovered this problem :-

If you moved an encoder, the corresponding ledring displays smoothly and correctly. After recording the movements in the host software, the playback of the ledrings tends to flicker with wrong values.

You would be able to see it clearly if you just record for encoder values that light up to 4 leds. On playback at random intervals some leds  higher than this will light up too.

I dont think its my setup cos i substituted with a mb64e firmware into the same setup and it doesnt exhibit this problem .

Any input would be greatly appreciated.

Peace

Frank

Posted

Hi Frank,

I will try to reproduce this.

I never tested this code... since I don't own so much ledrings ;-)

Best Regards, Thorsten.

Posted

Hi Frank,

I haven't found the time to check this yet, but I guess that it could be a performance issue with the encoder driver, since I haven't taken the CPU load into account during the last changes (means: if this is the reason, it can be solved by spenting some special effort on the optimization).

Could you please check if the LED rings still display wrong patterns when only 48 or 32 encoders are defined in mios_tables.inc? Just remove the 48th or 32th encoder entry and replace it by ENC_EOT to terminate the table.

If it works thereafter, I know where I need to optimize MIOS.

Best Regards, Thorsten.

Posted

Hi TK,

You are correct in your guess. I removed the 48th encoder and replaced with ENC_EOT , and the problem was solved. So it requires optimization.

Thank you

Frank

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...