Changeset ae32e69 in orbit for iOS/Orbit/Orbit/ViewController.m


Ignore:
Timestamp:
12/25/12 17:19:34 (9 years ago)
Author:
Steve Castellotti <sc@…>
Branches:
master, RawEEG, Raw_EEG_Plot, Servo, Tab_Interface, pyramid
Children:
e89a5eb
Parents:
daf54d5
Message:
  • Instructions printed to screen at launch
File:
1 edited

Legend:

Unmodified
Added
Removed
  • iOS/Orbit/Orbit/ViewController.m

    rdaf54d5 rae32e69  
    4141   [self.meditationThreshold addTarget:self action:@selector(calculatePowerValues) forControlEvents:UIControlEventValueChanged]; 
    4242   [self calculatePowerValues]; 
     43    
    4344} 
    4445 
     
    5354- (void) appForegrounded 
    5455{ 
    55    //   EAAccessory *accessory = [[TGAccessoryManager sharedTGAccessoryManager] accessory]; 
    56    //   if (accessory != nil) { 
    57    //      [self logMessage:[NSString stringWithFormat:@"App opened with %@ connected. Starting data stream", accessory.name]]; 
    58    //      [[TGAccessoryManager sharedTGAccessoryManager] startStream]; 
    59    //   } 
    6056   [self resetViews]; // just in case it didn't happen on close 
    6157} 
     
    6662   [self resetOutputToZero]; 
    6763   self.log.text = @""; 
     64   [self printInstructions]; 
     65    
     66} 
     67 
     68- (void) printInstructions 
     69{ 
     70   [self logMessage:@"Welcome to Puzzlebox Orbit!\n\nInstructions for Use:\n1. Pair with to EEG headset under Bluetooth Settings\n2. Attach infrared dongle to headphone port\n3. Raise volume to maximum level\n4. Press Connect button below to begin processing\n5. When Attention or Meditation levels cross the indicated threshold, the helicopter will take off"]; 
    6871} 
    6972 
Note: See TracChangeset for help on using the changeset viewer.