Skip to content

Commit

Permalink
CHANGED: Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ochs committed Sep 16, 2012
1 parent 1aa2182 commit 18d59ad
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
xcuserdata
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0450"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "50AF0CBF15F8D39B00BB3C5F"
BuildableName = "REDLEDClient.app"
BlueprintName = "REDLEDClient"
ReferencedContainer = "container:REDLEDClient.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "50AF0CBF15F8D39B00BB3C5F"
BuildableName = "REDLEDClient.app"
BlueprintName = "REDLEDClient"
ReferencedContainer = "container:REDLEDClient.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "50AF0CBF15F8D39B00BB3C5F"
BuildableName = "REDLEDClient.app"
BlueprintName = "REDLEDClient"
ReferencedContainer = "container:REDLEDClient.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "50AF0CBF15F8D39B00BB3C5F"
BuildableName = "REDLEDClient.app"
BlueprintName = "REDLEDClient"
ReferencedContainer = "container:REDLEDClient.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>REDLEDClient.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>50AF0CBF15F8D39B00BB3C5F</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
4 changes: 2 additions & 2 deletions REDLEDClient/RGBSCBonjourBrowserViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ - (id)initWithCoder:(NSCoder*)coder
self.bonjourBrowser = [[NSNetServiceBrowser alloc] init];
self.bonjourBrowser.delegate = self;

[self.bonjourBrowser scheduleInRunLoop:NSRunLoop.currentRunLoop forMode:NSRunLoopCommonModes];
//[self.bonjourBrowser scheduleInRunLoop:NSRunLoop.currentRunLoop forMode:NSRunLoopCommonModes];

[self.bonjourBrowser searchForServicesOfType:@"_rgbled._udp" inDomain:nil];
}
Expand All @@ -45,7 +45,7 @@ - (id)initWithCoder:(NSCoder*)coder

- (void)dealloc
{
[self.bonjourBrowser removeFromRunLoop:NSRunLoop.currentRunLoop forMode:NSRunLoopCommonModes];
//[self.bonjourBrowser removeFromRunLoop:NSRunLoop.currentRunLoop forMode:NSRunLoopCommonModes];
self.bonjourBrowser.delegate = nil;
}

Expand Down
2 changes: 1 addition & 1 deletion Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ byte ip[] = { 192, 168, 178, 154 };

int port = 1403;

const int LedStripLedCount = 56;
const int LedStripLedCount = 64;
const int LedStripDataPin = 2;
const int LedStripClockPin = 3;

Expand Down

0 comments on commit 18d59ad

Please sign in to comment.