Bladeren bron

updated swift serial example to use proper library name

Yeo Kheng Meng 9 jaren geleden
bovenliggende
commit
1492511477
2 gewijzigde bestanden met toevoegingen van 5 en 1 verwijderingen
  1. 1 1
      Examples/SwiftSerialExample/Sources/main.swift
  2. 4 0
      Examples/SwiftSerialExample/gitignore

+ 1 - 1
Examples/SwiftSerialExample/Sources/main.swift

@@ -1,5 +1,5 @@
 import Foundation
 import Foundation
-import SwiftLinuxSerial
+import SwiftSerial
 
 
 print("You should do a loopback i.e short the TX and RX pins of the target serial port before testing.")
 print("You should do a loopback i.e short the TX and RX pins of the target serial port before testing.")
 
 

+ 4 - 0
Examples/SwiftSerialExample/gitignore

@@ -0,0 +1,4 @@
+.DS_Store
+.build/
+Packages/
+*.xcodeproj/