Multiple buttons with the Button function

Post your requests and ideas on the future development of mikroBasic PRO for 8051.
Post Reply
Author
Message
oden77
Posts: 1
Joined: 07 Jul 2012 18:32

Multiple buttons with the Button function

#1 Post by oden77 » 07 Jul 2012 18:49

For mikroBasic PRO for 8051, will there be an update to the Button function? Currently it is limited to one button by the Button_Pin variable. Other languages had this function changed to accept a port and pin argument. Like this: Button(PORTx, 0, 0, 1). It is not difficult to write code to handle mutiple buttons without the Button function, but it would be nice to have a more useful version of the Button function.

I'm using mikroBasic PRO for 8051 version 2.2.

Thanks.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Multiple buttons with the Button function

#2 Post by filip » 09 Jul 2012 08:26

Hi,

I suppose we will make this change when we release the next version of the compiler.

Regards,
Filip.

Post Reply

Return to “mikroBasic PRO for 8051 Wish List”