Hi
I bought this display https://www.adafruit.com/products/347 and
I found a library for Arduino https://github.com/adafruit/SPI_VFD
and instruction http://learn.adafruit.com/arduino-tips- ... -libraries
and discussion http://forums.adafruit.com/viewtopic.php?f=47&t=24278
I still couldn't understand how I can use the display with Raspberry PI .
I know how to use GPIO with php and python, but i couldn't figure out.
Do you have any tips ?
Thank you
20x2 Character VFD SPI interface - 20T202DA2JA with R-PI
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- itsmaxlim
- Posts: 3
- Joined: Mon Nov 12, 2012 1:18 am
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
- itsmaxlim
- Posts: 3
- Joined: Mon Nov 12, 2012 1:18 am
Re: 20x2 Character VFD SPI interface - 20T202DA2JA with R-PI
Hi
I know how to switch off and switch on LED over GPIO.
I do not know how i can send a text to the display for displaying it.
Could you help with this point.
I know how to switch off and switch on LED over GPIO.
I do not know how i can send a text to the display for displaying it.
Could you help with this point.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: 20x2 Character VFD SPI interface - 20T202DA2JA with R-PI
You would need to translate the SPI_VFD library from C++ to Python. The SPI-Python library should handle the low-level SPI communication for you. It should have functionality equivalent to the Arduino SPI library.
- itsmaxlim
- Posts: 3
- Joined: Mon Nov 12, 2012 1:18 am
Re: 20x2 Character VFD SPI interface - 20T202DA2JA with R-PI
Hi
Sorry, but I am not able to translate the library from C++ to python .
Is it possible to compile and connect to python ?
So I'll be able to use it from Python.
Do we have any other options ?
Sorry, but I am not able to translate the library from C++ to python .
Is it possible to compile and connect to python ?
So I'll be able to use it from Python.
Do we have any other options ?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: 20x2 Character VFD SPI interface - 20T202DA2JA with R-PI
I doubt that it would compile without changes for the R-Pi. You would need some level of familiarity with C++ to convert the code to use the native SPI libraries.
Please be positive and constructive with your questions and comments.