Author Topic: Connecting Wiimote to Pelles C  (Read 9684 times)

Offline mdorin

  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
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?