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 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...