So, I have been working with processing for the last 6 months and am in the final stretch of finishing up my senior design project, but I hit a brick wall. I am attempting to interface arduino code that displays onto a TFT 128 x 128 3.2 inch sain smart touchscreen LCD screen into my processing code, which mean I have to translate Arduino code into processing language. Here is my arduino code
import UTFT.*;
// The font that will be used
extern uint8_t BigFont[];
extern uint8_t SevenSegNumFont[];
// The model parameter to suit your display module
UTFT myGLCD(ITDB32S,38,39,40,41);
void setup()
{
myGLCD.InitLCD(0);
myGLCD.clrScr();
myGLCD.setFont(BigFont);
}
void loop()
{
//set background color
myGLCD.fillScr(VGA_SILVER);
myGLCD.setBackColor(VGA_ );
myGLCD.setColor(VGA_BLUE);
myGLCD.print("REDDO PROJECT", 0, 0);
myGLCD.setColor(VGA_BLUE);
myGLCD.print("DESIGN TEAM 6 ", 0, 16, 0);
myGLCD.print("GROUP MEMBERS", 0, 32, 0);
myGLCD.setColor(VGA_BLUE);
myGLCD.print("F B.", 0, 48, 0);
myGLCD.print("R M. ", 0, 64, 0);
myGLCD.print("P K.", 0, 80,0);
myGLCD.print("D S.", 0,96,0 );
// where
//Draw Rectangle
myGLCD.setColor(VGA_BLACK);
myGLCD.drawRoundRect(0,0,239,319);
// serial.available()
while (true) {};
}
The issue I am running into is this line of code:
UTFT myGLCD(ITDB32S,38,39,40,41); processing language does not recognize UTFT, and I am almost positive I have to use a serial command here but am unsure which route to take.
the error i get from processing is "unexpected token: ITDB32S. Any Ideas?
Hey guys, new to the processing world and have come to a big brick wall.
As the titles says, I am trying to compare a live video stream to a saved picture in a data file, then display a letter character on screen. Something like a sign language translator. My current code outlines an object or body part.
I know this is possible using matlab and other signal processing software but is this even possible with processing. I have searched the forum but can not find any advice..
I will take any advice or suggestions. Thanks in advance.