

11:12 am

February 2, 2022

I have successfully ported three drivers before, but when I was porting a TFT driver, I encountered a strange behavior; the variable is not defined before the function call.
#include "LVArray.h"
#include "A4Lhelper.h"
#include
#include
#include
void setup()
{
unsigned long color_862;
color_862 = 0;
TFT_eSPI.init();
tft.fillScreen(Node853Out);
}
The 'color_862' is the variable I need to set to this function, but somehow the Arduino code is not putting the variable in the correct position. Instead, it calls a 'Node853Out', which is not defined in these codes. Can somebody give me a hint? Thanks!
------------------------------------------------------
edit1:
This phenomenon seems only to happen with the new driver I'm porting today; calling old drivers I ported before appears still generate valid code.
------------------------------------------------------
edit2:
Things got even wilder, and the function doesn't use the data I wired in; it uses error as input now? What have I done? Or what's can I do to fix this problem??
#include "LVArray.h"
#include "A4Lhelper.h"
#include
#include
void setup()
{
unsigned char Const202;
Const202 = 8;
tft.setTextSize(error_in__no_error__217);
}
void loop()
{
}
79
1 Guest(s)
