Comments (3)
What OS are you on?
Normally all files in a package are compiled. This package uses "build
tags" to provide the same function on windows and *nix. See the first line
of serial_posix.go for the build tag.
-Tarmigan
On Tue, Jul 16, 2013 at 4:06 PM, Per Rovegård [email protected]:
I get the following when trying to install the package:
$ go get github.com/tarm/goserial# github.com/tarm/goserialgithub.com/tarm/goserial/serial.go:92: undefined: openPortgithub.com/tarm/goserial/serial.go:92: not enough arguments to return
I see that openPort is defined in serial_posix.go, but I don't find any
references to that file.—
Reply to this email directly or view it on GitHubhttps://github.com/tarm/goserial/issues/8
.
from serial.
It's a Raspberry PI with Debian: Linux raspberry2 3.6.11+ #456 PREEMPT Mon May 20 17:42:15 BST 2013 armv6l GNU/Linux
The build tag in serial_posix.go suggests that it should be used on all non-Windows, right?
from serial.
Upgraded to Go 1.1.2, and the problem went away.
from serial.
Related Issues (20)
- Reading a predefined amount of bytes - RS485 mode HOT 1
- Can't compile on MacOS HOT 3
- List Available Serial Ports
- Single byte []byte{0x0f} is not transmitted
- Add SetReadTimeout(readTimeout time.Duration) function.
- Add SendBreak method
- How to set DTR RST enable
- Unable to read AT command response on windows 10 machine using 8 Port USB Modem Pool HOT 2
- Timeout problem with io.Reader
- Can I use multiple Serial ports in one code for simultaneously reading? HOT 1
- Connecting to existing port crashes PC
- Gen2 License plate recognition is not working HOT 1
- How catch Lost Serial port(for example USB virtual rs-232 unplug) HOT 1
- lost data via bufio.Read HOT 2
- [Question] How To Send Break Signal? HOT 1
- Problem with syncing 3 receiving bytes HOT 1
- all serials HOT 4
- There is no error ReadTimeout HOT 2
- not clear buffer splitting when reading HOT 4
- Reading serial ERROR_OPERATION_ABORTED (995) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serial.