how_to_use_the_thinkgear_api_in_xcode_mac_os_x.txt · Last modified: 2014/06/26 14:23 by Amine Bouchti

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
how_to_use_the_thinkgear_api_in_xcode_mac_os_x [2014/06/26 14:09]
Amine Bouchti [Setting up Xcode]
how_to_use_the_thinkgear_api_in_xcode_mac_os_x [2014/06/26 14:23]
Amine Bouchti [Setting up Xcode]
Line 29: Line 29:
  
 {{:​screen_shot_2014-06-26_at_2.08.36_pm.png?​600|}} {{:​screen_shot_2014-06-26_at_2.08.36_pm.png?​600|}}
 +
 +Note: If HelloEEG does not compile and you see the following error, try deleting and re-adding ThinkGear.framework under Frameworks and Libraries from the menu shown below.
 +
 +{{:​thinkgear_error_screenshot.png|}}
 +
 +  - Click **ThinkGear.framework** and then click the **-** button.
 +  - Click the **+** button and then click **Add Other**
 +  - Find and add **ThinkGear.framework** in **TG-SDK** --> **TG-SDK For Mac** --> **lib** --> **ThinkGear.framework**
 +
 +
 +If HelloEEG is run without connecting the ThinkGear-enabled headset, the application should look like this:
 +
 +{{:​screen_shot_2014-06-06_at_11.37.13_am.png|}}
 +
 +Once the headset is connected, run the application once again. The application should now look like this:
 +
 +{{:​screen_shot_2014-06-06_at_1.07.14_pm.png|}}
 +
 +If the Poor Signal data reads 0, Meditation and Attention data should be fluctuating every second. If Poor Signal reads something other than 0, re-adjust the headset accordingly until Poor Signal data goes down to 0.
 +
 +At this point, you should be able to browse the code, make modifications,​ compile, and deploy the app to your device or emulator just like any typical OS X application.
 ====== Importing ThinkGear Functions ====== ====== Importing ThinkGear Functions ======
 At the top of your header or implementation,​ you should include the Core Foundation library: At the top of your header or implementation,​ you should include the Core Foundation library:

About NeuroSky

NeuroSky technologies enable the most insightful and easy-to-understand health and wellness biometrics for mobile solutions, wearable devices, and service providers. The company’s proprietary, market-leading biosensor technologies provide a foundation for analyzing biometric data in a way that’s never before been practical. NeuroSky-enabled solutions deliver unique insights into body and mind health and wellness that can motivate people to make better lifestyle choices.