Jump to content

promate

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you for your interest and valuable support. In my project I am using QT5, QtCreator4, GCC Compiler with WiringPI C library. Is it possible to use these tools in Armbian OS? The GLCD is WG320240C0-TMI-TZ # (RA8835 based) link : https://github.com/delsauce/Adafruit_GFX_RA8835
  2. I am using a GLCD (320x240 8bit data bus ) on my project with Tinker Board. So, GLCD is running very slowly.
  3. CHWE's comments look to be correct. If you need super fast toggling of GPIOs, then you need to memory map the I/O ports and write directly to them. My ArmbianIO library and others use the sysfs access which goes through the linux file system (much slower). thank you very much for your valuable suggestions, Is there any C library (like as wiringPi) that works as you mentioned?. I want to use it with 2018-02-22-tinker-board-linaro-stretch-alip-v2.0.5 Tinker Board image.
  4. Thanks for your quick response. I am not a linux user so I can not compile my own kernel. Is there a version of precompiled-kernel that you talked about and that I can download image file directly? the attached pictures are below. Raspberry Pi.BMP Tinker.BMP
  5. On the Tinker Board , I have tested a simple GPIO application using preinstalled wiringPi C library. I also ran the same application on Raspberry Pi using preinstalled wiringPi C library, but I noticed that the Tinkerboard GPIO speed is very slow. I wonder why this is the case. I would appreciate, if someone share opinion about it. I've added the C program and attached oscilloscope screen-display for GPIO port speed for both Tinker Board and Raspberry Pi. I tested Tinker Board with 2018-02-22-tinker-board-linaro-stretch-alip-v2.0.5 image. GPIO speed is about 158 Khz I tested Raspberry PI 3 Model B with 2018-03-13-raspbian-stretch image. GPIO speed is about 1.92 Mhz #include <stdio.h> #include <wiringPi.h> #define LED 0 int main (void) { printf ("TB blink\n"); wiringPiSetup (); pinMode (LED, OUTPUT); for (; { //printf ("led on\n"); digitalWrite (LED, HIGH); //delay (500); //printf ("led off\n"); digitalWrite (LED, LOW); //delay (500); } return 0; } /* #define LED 0 matches with ASUS_GPIO 164! This can be checked with command 'sudo gpio readall'. To compile the script run the command: sudo gcc -o blink blink.c -lwiringPi To run the newly compiled led run the command: sudo ./blink */
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines