BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Pages: [1]
 1 
 on: December 17, 2018, 03:51:00 PM 
Started by Chris/ - Last post by Chris/
Hi,

The only difference is where i sit.

Every time this has happened i have been sat on my sofa whereas usually i am sat at a desk (where it has never occurred).

Could it been some sort of static issue?

It has happened to two CleO35 now.

Thanks,

Chris

 2 
 on: December 16, 2018, 09:40:12 PM 
Started by Chris/ - Last post by BRT Community
Hi Chris,

Sorry to hear of the problem, we'll need to check on this.

Is there anything which seems to trigger the issue to begin happening on the boards (such as changing the contents of the eflash to add images or connecting or configuring differently)?

Best Regards, BRT Community

 3 
 on: December 13, 2018, 08:08:43 AM 
Started by Chris/ - Last post by Chris/
I guess i should have read through the filing system tutorials better!

Here's a solution to this saving it into a .csv file:

Code: [Select]
#include <SPI.h>
#include <CleO.h>


char STR1[] = "A,B,C,D,E,F,G\n";
char STR2[] = "H,H,H,H,H,H,H\n";
char STR3[] = "I,I,I,I,I,I,I\n";
int16_t actual;
int16_t f;
uint32_t pointer = 0;


void setup() {
 
  CleO.begin();
 
  f = CleO.FOpen("test.csv", FILE_OPEN_ALWAYS | FILE_WRITE);
  while (!CleO.FEOF(f)) {                                      // Moves pointer position through the file until end of file is found
    CleO.FSeek(f, pointer);
    pointer++;
  }
  CleO.FWrite(f, strlen(STR1) + 1, (uint8_t*)STR1, actual);
  CleO.FClose(f);

  CleO.FOpen("test.csv", FILE_OPEN_ALWAYS | FILE_WRITE);
  while (!CleO.FEOF(f)) {
    CleO.FSeek(f, pointer);
    pointer++;
  }
  CleO.FWrite(f, strlen(STR2) + 1, (uint8_t*)STR2, actual);
  CleO.FClose(f);
 
  CleO.FOpen("test.csv", FILE_OPEN_ALWAYS | FILE_WRITE);
  while (!CleO.FEOF(f)) {
    CleO.FSeek(f, pointer);
    pointer++;
  }
  CleO.FWrite(f, strlen(STR3) + 1, (uint8_t*)STR3, actual);
  CleO.FClose(f);


}

void loop() {}

 4 
 on: December 12, 2018, 03:34:51 PM 
Started by matejpinos - Last post by BRT Community
Hello,

Unfortunately there has been no progress on removing the CleO image from the splash screen.
I will post here when there if there is any update.

Best Regards,
BRT Community

 5 
 on: December 10, 2018, 03:54:20 PM 
Started by Chris/ - Last post by Chris/
Hi,

I'm trying to append some information to a new line within the same .txt file using the CleO file system however i seem to just be overwriting the same line each time.

Code: [Select]
#include <SPI.h>
#include <CleO.h>

void setup() {
  char STR1[] = "ABCDEFG";
  char STR2[] = "HHHHHHH";
  char STR3[] = "IIIIIII";
  int16_t actual;

  CleO.begin();

  int16_t f = CleO.FOpen("test.txt", FILE_OPEN_EXISTING | FILE_WRITE);
  CleO.FWrite(f, strlen(STR1) + 1, (uint8_t*)STR1, actual);
  CleO.FClose(f);

  CleO.FOpen("test.txt", FILE_OPEN_EXISTING | FILE_WRITE);
  CleO.FWrite(f, strlen(STR2) + 1, (uint8_t*)STR2, actual);
  CleO.FClose(f);

  CleO.FOpen("test.txt", FILE_OPEN_EXISTING | FILE_WRITE);
  CleO.FWrite(f, strlen(STR3) + 1, (uint8_t*)STR3, actual);
  CleO.FClose(f);
}

void loop() {}

I'm after a file that gives:

  ABCDEFG
  HHHHHHH
  IIIIIII

but the code above gives:

IIIIIII

Is there a way of achieving what I'm after?

thanks,

Chris

 6 
 on: December 10, 2018, 07:37:27 AM 
Started by Chris/ - Last post by Chris/
Just happened to another CleO!

Any thoughts?

 7 
 on: December 05, 2018, 02:46:59 PM 
Started by matejpinos - Last post by matejpinos
Hello everyone!

Is it possible to change to Cleo splash screen? I would rather have black screen with some basic information about Cleo. This topic was discussed here:

http://cleostuff.com/forum/index.php?topic=109.0

but without solution. Thanks in advance.

 8 
 on: December 04, 2018, 10:58:54 PM 
Started by Chris/ - Last post by Chris/
Hi,

Its happened a couple of times now where the eflash has failed and left me without the cleo picture on the splash screen and then an error trap when its failed to load Icons in.

Is this a know fault or am i doing something wrong?


This is a cut down version of how i call the icons:

Code: [Select]
int16_t Settings;     

void setup() {
Settings = CleO.LoadIcon("@Icons/m36.ftico", 707);     
}
void loop() {
CleO.Bitmap(Settings, (0.005 * SCREEN_WIDTH), (0.225 * SCREEN_HEIGHT));
}

Thanks,

Chris

 9 
 on: November 26, 2018, 10:28:13 AM 
Started by BRT Community Admin - Last post by BRT Community Admin
In order to keep all our forums in one place we have decided to move the CleO community to here. Please create a new user account and post all CleO relateted topics here. To view all historical posts please folllow this link- Bridgetek - CleO Community

 10 
 on: October 01, 2018, 04:25:40 PM 
Started by BRT Community Admin - Last post by BRT Community Admin
Welcome to the BRT Community!

Following on from our very successful FTDI Community, we have created this community to discuss all Bridgetek products.

We have designed this community to encourage our customers to interact both with one another and with our technical teams, sharing new ideas and projects.
 
Please note, this forum has been created in addition to our current technical support services, which can be reached using the contact details, available @
BRT Support.

Please contact admin@brtcommunity.com if you have any questions relating to the Community pages

Pages: [1]