Comments (4)
No, I haven't implemented this feature. Although it should be possible if you're willing to dig into the FT81x's documentation.
from ft81x_arduino_driver.
Yes, I am already trying to do that but without any luck.
I am guided by the following application note and I managed to generate the data that needs to be loaded. This data is loaded by following code:
ft81x.writeGRAM(1000,148,SAMApp_ShowCustomFont_MetricBlock);
ft81x.writeGRAM(1000 + 148,5510,SAMApp_ShowCustomFont_FontBmpData);
ft81x.beginDisplayList();
ft81x.clear(WHITE);
ft81x.clear(FT81x_COLOR_RGB(255,255,255));
ft81x.drawText(240, 230, 34, FT81x_COLOR_RGB(0,0,0), FT81x_OPT_CENTER, "Font1\0");
ft81x.sendCommand(BITMAP_HANDLE(6));
/* ft81x.sendCommand(BITMAP_SOURCE(1000)); */
/* ft81x.sendCommand(BITMAP_SOURCE(1090)); */
/* ft81x.sendCommand(BITMAP_SOURCE(-508)); */
ft81x.sendCommand(BITMAP_SOURCE(-708));
ft81x.sendCommand(BITMAP_LAYOUT(FT_L1,2,29));
ft81x.sendCommand(BITMAP_SIZE(FT_NEAREST,FT_BORDER,FT_BORDER,16,29));
ft81x.sendCommand(0xFFFFFF2BUL);
ft81x.sendCommand(6);
ft81x.sendCommand(FT81x_RAM_G + 1000);
ft81x.sendCommand(0);
}
ft81x.drawText(240, 280, 6, FT81x_COLOR_RGB(0,0,0), FT81x_OPT_CENTER, "Font2\0");
ft81x.swapScreen();`
`
But I only get white screen in a place where text should be and I am running out of ideas. :/
from ft81x_arduino_driver.
It seems to me that your approach is correct. I haven't tried this myself yet and I'd need to consult the documentation to verify your code, so I can't tell you much more right now.
from ft81x_arduino_driver.
Ok, I will continue to work on it and will write comment here if I manage to fix it.
from ft81x_arduino_driver.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ft81x_arduino_driver.