Comments (1)
I've the exact same versions installed, and I can load it just fine.
I'll guess that you've modified the "Blink.hs" program somehow, and you've changed the indentation in some way. (Tabs/spaces?) Remember that indentation is important in Haskell.
I'd suggest doing the following:
$ cabal unpack hArduino
$ cd hArduino-0.9/System/Hardware/Arduino/SamplePrograms
$ ghci Blink.hs
ghci> blink
Keep in mind your Arduino must be connected to the correct serial port (or change it to the correct one inside the blink
function (second argument to withArduino
); and also you should have Firmata already running on the board. (Do the latter from the Arduino IDE itself, not from Haskell.)
from harduino.
Related Issues (9)
- threadDelay bug on mac
- toEnum{PinMode}: tag (11) is outside of enumeration's range (0,6) HOT 18
- Listener thread management in GHCi HOT 1
- Distinguishing analog/digital pins
- Use fixed version of serialport HOT 2
- pulseIn/pulseOut accuracy HOT 1
- hArduino-0.5 depends on unix-2.6.0.1 which failed to install. HOT 4
- remove unused pragmas 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 harduino.