Git Product home page Git Product logo

geled's Introduction

geled

labs to control LED on GDK8

Steps to compile and run in termimmal:
geduer@gdk8:/projects$ cd geled
geduer@gdk8:
/projects/geled$ gcc -o geled main.c
geduer@gdk8:/projects/geled$ ls
bin geled led_ht1628.h main.c main.cpp obj
geduer@gdk8:
/projects/geled$ ./geled
GDK8-geled向你问好!
missing arguments
geled: a utility to talk with LED on GDK8
geled <cmd> [para] [filename]
c <4 chars to display>
f - turn off
n - turn on
for example: geled c 8888
geduer@gdk8:/projects/geled$ ./geled f
GDK8-geled向你问好!
Can't open device file: /dev/char/241:0
geduer@gdk8:
/projects/geled$ sudo ./geled f
GDK8-geled向你问好!
device is opened with fd = 3
ioctl returne 0, errno 0
geduer@gdk8:~/projects/geled$ sudo ./geled n
GDK8-geled向你问好!
device is opened with fd = 3
ioctl returne 0, errno 0

geled's People

Contributors

gdk8 avatar

Stargazers

 avatar

Watchers

 avatar

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.