Created
May 5, 2016 01:11
-
-
Save nfarah86/b5c0c3701754a9dc63434e7de8abfc36 to your computer and use it in GitHub Desktop.
Get Serial Data from the Bean
This file contains 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
// omitted tons of code | |
-(void)bean:(PTDBean*)bean serialDataReceived:(NSData*)data | |
{ | |
NSString *receivedMessage=[[NSString alloc]initWithData:data encoding:NSASCIIStringEncoding]; | |
NSLog (@"%@ this works", receivedMessage); | |
// omitted code | |
} | |
// omitted code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment