Giter Club home page Giter Club logo

pcduino's Introduction

SparkFun pcDuino

pcDuino

pcDuino (DEV-11712)

NOTE: This product has been retired from our catalog. If you are looking for more up-to-date info, please check out some of these resources to see how other users are still hacking and improving on this product.

https://www.sparkfun.com/products/retired/11712

This repo contains useful projects to those getting started with the pcDuino.

The wiki contains some useful information, as well, and will be expanded as new information becomes available.

pcduino's People

Contributors

carlosgvaso avatar loricrotser avatar mhord avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pcduino's Issues

gpio_test not working

The writeFile() function in gpio_test.cpp has a bug which prevents the program to write the data to the gpio file. In line 107 the sprintf() function writes out chars (%c), but it should write ints (%d). This is the way that is done by the pcDuino people in their c_environment library. Here is the fixed writeFile():

103 void writeFile(int fileID, int value)
104 {
105     char buffer[4];  // A place to build our four-byte string.
106     memset((void *)buffer, 0, sizeof(buffer)); // clear the buffer out.
107     sprintf(buffer, "%d", value);
108     lseek(fileID, 0, SEEK_SET);   // Make sure we're at the top of the file!
109     write(fileID, buffer, sizeof(buffer));
110 }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.