Jump to content

Recommended Posts

Posted

Hi all,

I've just finished my DIN, connected it to the core,  :D tried to simulate a bouton by sending ground to one of the entries but ... seems like my program does not see any button pressed  >:(.

I display a message in the DIN_NotifyToggle( ) function (I'm using C language) but it never appears on my LCD.  :-\

Does it take some other parameter to activate use of the buttons ? Where am I going wrong ?

Thanks all

Posted

Yes, you have to specify the number of shift registers and the update frequency within Init():


void Init(void) __wparam
{
  // initialize the shift registers
  MIOS_SRIO_NumberSet(16); // shiftregisters
  MIOS_SRIO_UpdateFrqSet(1); // mS
}
[/code]

Best Regards, Thorsten.

Posted

Waow hello Holy Father and thanks for this help coming from the skies  ;D :D

Now it works perfectly well  8)

By the way, thanks for this great geeky project, that gives lot of fun !!!

Seeya,

Goule

Posted

So you have an application that can display which din is toggled? or did I get you wrong?

If yes, could you give it to me as I am hunting for bad solderjoints in my mblc, it seems like not

all din pins are properly working yet so such a test-app would be usefull.

greetings

rambinator

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