Wiimote Project

Wiimote Projects => Other Projects => Topic started by: mdorin on December 04, 2014, 03:28:41 PM

Title: Connecting Wiimote to Pelles C
Post by: mdorin on December 04, 2014, 03:28:41 PM
Im trying to use Pelles C to get data from my wiimote but getting errors in the code.

      WCONST bdaddr_t bdaddr;            /**< bt address                        */
      WCONST char bdaddr_str[18];         /**< readable bt address



error: Undeclared identifier 'bdaddr_t'

I got this code online and do not fully understand it. It appears here that this code is trying to find the address of the wiimote in the bluetooth of the computer but it doesn't seem to work.

Any ideas?