Simple RGB LED controller for Mac OS X
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

1234567891011121314151617181920212223
  1. //
  2. // Serial.h
  3. // CaseLights
  4. //
  5. // Created by Thomas Buck on 14.12.15.
  6. // Copyright © 2015 xythobuz. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface Serial : NSObject
  10. @property (strong) NSString *portName;
  11. - (NSInteger)openPort;
  12. - (void)closePort;
  13. - (BOOL)isOpen;
  14. - (BOOL)hasData;
  15. - (void)sendString:(NSString *)string;
  16. + (NSArray *)listSerialPorts;
  17. @end