Island and I that take break to make advertisements !!


Hello World !!

The picture photo from Taiwan. East coast to see that island. It likes turtle and mountain.

Slowly developing the next goal of LCOD.  That island and I that take break to make advertisements about EP iLogic Viewer/CAD/Tester.  Now I am not necessary to build and develop new functionalities, because the LCOD (Layer Conception of Document) system already was built in version Version 1.1.  Now we just to make advertisement and everyone know it that our purpose of next.

Did you have any experience of using LCOD ?   In physic world you really know this conception,  that is abstract and rule of language. Here we created this and told everyone, you can and build them  to be power up projects. Just object to line and line to object.  After researching and developing I  I believe this way will bring the wonderful imagination and easy job to decrease your loading of job.

The developing of new functionalities that take a break like turtle island of non-moving in the Pacific Ocean.  It maybe be huge and awesome in your view-points. So users please keep the level to build up high value and worth, let’s make wonderful world we wish.

“^Accentropy” , This currently  were under planning,  this shall be executed in future.  please subscribe our blog and we will bring news for reader.

Ivan Perng in HsinChu.

How to use DueFlashStorage in Arduino Due (Middleware)

Hello World !!

This topic we want to tell that the example of Arduino Mega2560 is not enough of EEPROM to applicable. So I find the other to resolve this problem. now we can use DueFlashStorage and Arduino Due to save binary code that download from EP iLogic.

  •  First you can Download DueFlashStorage  this link https://www.arduinolibraries.info/libraries/due-flash-storage  and unzip.  Copy that files to ArduinoLibraries directory.  That meaning your installed arduino can use third solution of library to DueFlashStorage.
  • Please Modify the file DueFlashStorage.h
        <<   from: >>
                 // 1Kb of data

 

                 #define DATA_LENGTH   ((IFLASH1_PAGE_SIZE/sizeof(byte))*4)
         <<  to: >>
              // 250Kb of data
              #define DATA_LENGTH   ((IFLASH1_PAGE_SIZE/sizeof(byte))* 4 * 250)
             250 Kb you can set up with your decision.

 

  • Please New Project from Sample Template (you can select Due Balance Car)

.<<   from: >>
#include <EEPROM.h>
byte iLogic_eeprom_read_byte(unsigned int addr)
{ return EEPROM.read(addr);
}
void iLogic_eeprom_write_byte( unsigned int addr , byte data )
{ EEPROM.write(addr, data);
}

<< to: >>
#include <DueFlashStorage.h>
DueFlashStorage dueFlashStorage;
byte iLogic_eeprom_read_byte(unsigned int addr)
{    return dueFlashStorage.read(addr);
}
void iLogic_eeprom_write_byte( unsigned int addr , byte data )
{   dueFlashStorage.write(addr,data);
}

  • Complete the uppers,  you can use flash to storage,  please carefully  SetDValue , and SetDAValue do not be set too many times in FUNCs. It will write data to flash.