View Single Post
  #10   Spotlight this post!  
Unread 19-08-2016, 17:31
team-4480's Avatar
team-4480 team-4480 is offline
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 214
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
Re: Calling All Coders!

Quote:
Originally Posted by snekiam View Post
I've been unable to get things up and running correctly. I was able to compile the SDKExample in visual studio, and the program runs just fine. But I am unable to control LEDs on the keyboard with it. I am running Windows 10 and VisualStudio, but do not mind switching to linux/eclipse/text editors.
Make sure you set the control device AND Enable LED Control in the beginning of the program. For example, if you have the Masterkeys M White keyboard...
Code:
int main(void){

SetControlDevice(DEV_MKeys_M_White);

EnableLedControl(true);

//begin controlling LEDs with SetFullLedColor or SetLedColor

EnableLedControl(false); // don't forget this
}
__________________
#Python4Life
Reply With Quote