Jump to content

Sid CS Din


js
 Share

Recommended Posts

I´ve almost managed so finish my Double (soon to be triple) Sid with CS. So far i´ve found the solution to the things i´ve messed up, but i cant seem to figure this one out.

I´m using a 2x40 LCD and need to configure the additional selectbuttons 6-10. I´ve connected them to sr10 and compiled this code:

[pre]

//cut, more code up

DIN_ENTRY CS_MENU_BUTTON_Dec, 1, 0 ; only valid if rotary encoder not assigned to these pins

DIN_ENTRY CS_MENU_BUTTON_Inc, 1, 1 ; (see mios_tables.inc) and CS_MENU_USE_INCDEC_BUTTONS == 1

DIN_ENTRY CS_MENU_BUTTON_Exec, 1, 2

DIN_ENTRY CS_MENU_BUTTON_Sel1, 1, 7

DIN_ENTRY CS_MENU_BUTTON_Sel2, 1, 6

DIN_ENTRY CS_MENU_BUTTON_Sel3, 1, 5

DIN_ENTRY CS_MENU_BUTTON_Sel4, 1, 4

DIN_ENTRY CS_MENU_BUTTON_Sel5, 1, 3

DIN_ENTRY CS_MENU_BUTTON_Sel6, 10, 0 ; define this if CS_MENU_DISPLAYED_ITEMS > 5

DIN_ENTRY CS_MENU_BUTTON_Sel7, 10, 1 ; define this if CS_MENU_DISPLAYED_ITEMS > 5

DIN_ENTRY CS_MENU_BUTTON_Sel8, 10, 2 ; define this if CS_MENU_DISPLAYED_ITEMS > 5

DIN_ENTRY CS_MENU_BUTTON_Sel9, 10, 3 ; define this if CS_MENU_DISPLAYED_ITEMS > 5

DIN_ENTRY CS_MENU_BUTTON_Sel10, 9, 5 ; define this if CS_MENU_DISPLAYED_ITEMS > 5

//Cut, more code down

[/pre]

Is there another place that i need to tell mios to use sr10?

I´ve set i to use a 2x40 display in main.asm and the display works fine, i´ve also tried to set the buttons on sr9 instead and that works fine (but the other buttons I connect to sr10 (or sr11 for thet matter) doesn´t work)

Any response is much appreciated!!! :)

js

Link to comment
Share on other sites

THANKS ALOT!!!

I had a feeling that it had to be sometheing simle i´ve missed and you hit it right on the spot!! :)

Wonderful with this forum where people are so helpful and quick to respond!!

Thanks again, it´s working perfect now (still need a few things:

sid.jpg

Link to comment
Share on other sites

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

×
×
  • Create New...