Skip to content

Ponf/FPPowerUp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

FPPowerUp

FPPowerUp - simple Objective-C library, providing control for PowerUp 3.0 paperplane controller.

Supported platforms: OS X (10.7+) and iOS (5.0+)

#Current status Done:

  • Connection to PowerUp
  • Controlling Speed
  • Controlling Rudder

TODO:

  • Battery and Charging Status

#Usage

- (void)viewDidLoad {
    
    [super viewDidLoad];
    
    _powerUp = [FPPowerUp new];
    
    _powerUp.delegate = self;

    
}

- (IBAction)connect:(id)sender {
    [_powerUp connect];

}

- (void)powerUpDidConnect:(FPPowerUp *) powerUp {
    
    _powerUp.speed = 200;   //Accepting values between [0 ... 254]
    _powerUp.rudder = 100;  //Accepting values between [-128 ... 127]
}

About

Objective-C library for PowerUp paperplane controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published