Git Product home page Git Product logo

visi-genie-rasppi-library's Introduction

image

ViSi-Genie-RaspPi-Library

4D Systems Raspberry Pi Library for Visi-Genie

Library for the Raspberry Pi to allow easy communication between 4D Intelligent Display modules running ViSi-Genie programmed from Workshop 4, and the Raspberry Pi.

This library is also required for the Raspberry Pi demo programs.

Genie Pi version 1.3


  • Added the following function:

    genieWriteShortToIntLedDigits (int index, int16_t data) genieWriteLongToIntLedDigits (int index, int32_t data) genieWriteFloatToIntLedDigits (int index, float data)

  • Added numerous new objects to support Internal/Inherent Widgets in Workshop4

Genie Pi version 1.2


  • Added the following function:

    genieWriteStrHex (int index, long n) genieWriteStrDec (int index, long n) genieWriteStrOct (int index, long n) genieWriteStrBin (int index, long n) genieWriteStrBase (int index, long n, int base) genieWriteStrFloat (int index, float n, int precision)

Genie Pi version 1.1


  • Added the following function: genieWriteMagicBytes (int magic_index, unsigned int *byteArray) genieWriteDoubleBytes (int magic_index, unsigned int *doubleByteArray)

  • Added additional Struct : genieMagicReplyStruct : cmd, index, length, data[100]

Dependencies


This section discusses the package requirements of the library

WiringPi

Installation


This section discusses install and uninstall procedure for Genie Pi

Install Genie Pi Library

make
sudo make install

Uninstall Genie Pi Library

sudo make uninstall

Setup Raspberry Pi Serial UART hardware


  • In a default install of Raspbian, the primary UART is assigned to the Linux console. Using the serial port for other purposes requires this default behavour to be changed. On startup, systemd checks the Linux Kernal command line for any console entries, and will use the console defined therein. To stop this behavour, the serial console setting needs to be removed from the command line.

  • This can be done by using the raspi-config utility, or manually.

     sudo raspi-config
    
  • Select Interfacing options, then option Serial

  • Select No to disable Console via Serial

  • Select Yes to enable Serial hardware

  • Exit Raspberry Pi Configuration

  • To manually change the settings, edit the kernel command line with:

     sudo nano /boot/cmdline.txt
    
  • Find the console entry the refers to the serial0 device, and remove it, including the baud rate setting. It will look something like: console=serial0,115200

  • Make sure the rest of the line remains the same, as errors in this configuration can stop the Raspberry Pi from booting.

  • Reboot the Raspberry Pi for the change to take effect.

Questions/Issues?

Please sign up for our Forum and ask a question there, or submit a Tech Support Ticket from our website. http://forum.4dsystems.com.au or http://www.4dsystems.com.au/support

visi-genie-rasppi-library's People

Contributors

abed4d avatar gordondrogon avatar wanago avatar

Stargazers

 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

visi-genie-rasppi-library's Issues

compile for 64 bits

Hello,

how can I compile de Visi-Genie-Raspi-Library on Fedora 20 64 bits.

In the console I have the following error:

[oscar@bitos ViSi-Genie-RaspPi-Library-master]$ make
[Link (Dynamic)]
/usr/bin/ld: geniePi.o: no se puede usar la reubicación R_X86_64_32S contra `.bss' cuando se hace un objeto compartido; recompile con -fPIC
geniePi.o: no se puede leer símbolos: Valor erróneo
collect2: error: ld devolvió el estado de salida 1
make: *** [libgeniePi.so] Error 1

Anyone can help me to install the library on my 64 bits O.S.

Thank you.

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.