This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma mark iADs and Admob | |
-(void) addAdMob | |
{ | |
bannerView_ = [[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner]; | |
// Specify the ad's "unit identifier". This is your AdMob Publisher ID. | |
bannerView_.adUnitID = @""; | |
// Let the runtime know which UIViewController to restore after taking |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//----------------------------------------------- | |
// SPARK CORE CUSTOM PWM FREQUENCY EXAMPLE | |
//=============================================== | |
// Define your own frequency below! | |
// PWM Glitch issue fixed, only sets up PWM once, | |
// ... thereafter sets duty cycle. | |
// This allows true 0 - 100% PWM. | |
// Copy this into a new application at: | |
// https://www.spark.io/build and go nuts! | |
//----------------------------------------------- |