Navigation

    REXYGEN Community Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. hrabalo
    H
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 4
    • Best 0
    • Groups 0

    hrabalo

    @hrabalo

    0
    Reputation
    3
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    hrabalo Follow

    Latest posts made by hrabalo

    • RE: REXduino and TSC2007

      @cechurat Thank you for your very quick reply.

      I run Rexygen studio on my PC with W10, however in REXduino_slave I include "Adafruit_TSC2007.h" and I process the incoming data in void command 4.

      It is solved.

      Ondrej.

      posted in Communication (RS232
      H
      hrabalo
    • REXduino and TSC2007

      Hi, I have a question about I2C communication in REXduino. In the REXduino_slave example, there is an MPL115A2 barometer, but I would like to implement a TSC2007 touchscreen controller instead. First of all, all the I2C examples in REXduino_slave are commented out. This is because a few lines above, there is a verbose version of the "Board info" command. Next, I would like to ask where I can find the data from the I2C device in the REXYGEN studio. Specifically, I mean which pin on the Arduino_UNO block. Thank you very much.

      posted in Communication (RS232
      H
      hrabalo
    • REXduino 4-wire touchscreen

      Hi, I would like to measure the position on the 4-wire touch screen. For this I have to switch A0, A1, A2, A3 between analog input and digital output. Is it possible in REXduino?

      Thank you.

      This is code for Arduino and I would like to implement in REXduino.

        int X,Y; //Touch Coordinates are stored in X,Y variable
         pinMode(Y1,INPUT);
         pinMode(Y2,INPUT);  
         digitalWrite(Y2,LOW);
         pinMode(X1,OUTPUT);
         digitalWrite(X1,HIGH);
         pinMode(X2,OUTPUT);
         digitalWrite(X2,LOW);
         X = (analogRead(Y1))/(1024/Xresolution); //Reads X axis touch position
          
         pinMode(X1,INPUT);
         pinMode(X2,INPUT);
         digitalWrite(X2,LOW);
         pinMode(Y1,OUTPUT);
         digitalWrite(Y1,HIGH);
         pinMode(Y2,OUTPUT);
         digitalWrite(Y2,LOW);
         Y = (analogRead(X1))/(1024/Yresolution); //Reads Y axis touch position```
      posted in General
      H
      hrabalo