Hi;
I have a FT800 display complete with an arduino controller (VM800).
I've been looking at Ben's arduino converted component vs the arduino code produced by the Eve Editor.
The version below changes the pixel dot Red then Green then Blue.
Question is how do you import the library's into flowcode?
Andy
#include <EEPROM.h>
#include <SPI.h>
#include <Wire.h>
#include <FT_VM800P43_50.h>
FT800IMPL_SPI FTImpl(FT_CS_PIN,FT_PDN_PIN,FT_INT_PIN);
int x = 0;
void setup()
{
FTImpl.Init(FT_DISPLAY_RESOLUTION);
FTImpl.SetDisplayEnablePin(FT_DISPENABLE_PIN);
FTImpl.SetAudioEnablePin(FT_AUDIOENABLE_PIN);
FTImpl.DisplayOn();
FTImpl.AudioOn();
FTImpl.DLStart();
FTImpl.Finish();
FTImpl.DLStart();
FTImpl.DLEnd();
FTImpl.Finish();
}
void loop()
{
FTImpl.DLStart();
FTImpl.PointSize(320);
//FTImpl.ColorRGB(255, 0, 0);
if (x==0) {FTImpl.ColorRGB(255, 0, 0);}
if (x==1) {FTImpl.ColorRGB(0, 255, 0);}
if (x==2) {FTImpl.ColorRGB(0, 0, 255);}
FTImpl.Begin(FT_POINTS);
FTImpl.Vertex2f(1056, 2128);
FTImpl.DLEnd();
FTImpl.Finish();
delay(500);
x=x+1;
if (x>2) {x=0;}
}
FT800
For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.
Moderator: Benj
Jump to
- Announcements
- ↳ Announcements
- The Knowledge Exchange
- ↳ Programming Tips & Tricks
- ↳ Freelance Embedded Engineers
- ↳ Article Discussion
- Microcontroller Programming
- ↳ General Programming
- ↳ Flowcode V9
- ↳ Flowcode V8
- ↳ Feature Requests
- ↳ Bug Reports
- ↳ User Components
- ↳ Flowcode V7
- ↳ User Components
- ↳ Feature requests
- ↳ Bug reports
- ↳ Fixed bugs
- ↳ 8-Bit PIC
- ↳ 16-Bit PIC
- ↳ 32-Bit PIC
- ↳ AVR & Arduino
- ↳ 32-Bit ARM
- ↳ Poll Discussion
- ↳ Flowcode V6
- ↳ Flowcode v6 Beta
- ↳ Bug reports
- ↳ Getting Started
- ↳ User Components
- ↳ Feature requests
- ↳ Bug reports
- ↳ Flowcode V5
- ↳ Flowcode V5 Issues
- ↳ Flowcode V5 Suggestions
- ↳ Flowcode V5 Free Edition
- ↳ Flowcode V4
- ↳ Flowcode 4 Bugs
- ↳ Flowcode 4 Suggestions
- ↳ Flowcode V2 & V3
- ↳ General / Misc
- ↳ Components (Comms)
- ↳ Components (Other)
- ↳ Bugs / Application Errors
- ↳ Suggestions
- ↳ BTEC Unit 6
- ↳ C and ASM Programming
- ↳ E-blocks
- ↳ Formula AllCode
- ↳ Formula Flowcode
- ↳ MIAC
- Language Support Forums
- ↳ Deutsch Support-Forum
- ↳ Forums d'aide en français
- ↳ Foro de soporte español
- Other Matrix products
- ↳ Electronics products
- ↳ Matrix Online Courses
- ↳ Other products
- ↳ CoCo
- Hidden