-
1Just getting started
A better set of instructions will have to come later.
- VBA Excel(2003)is used to create a graphical user interface (GUI )to simulate the TFT screen.
- From the VBA tool box. Buttons, Labels, and Text boxes are pulled into a frame that represents the screen.
- Click “Compile” to save the basic data into a hex file.
- Click “Transpose”. The data is automatically added into an “Arduino burn EEPROM template” sketch that is stored within Excel itself.
- The template is then automatically saved and launched.
- When you run the burn sketch the data is stored in the Uno's EEPROM space. 1024 bytes max. The example uses 387 bytes of EEPROM space.
- Load the final CntrlPannel Slave sketch. Data stored in the EEPROM doesn't change even if a new sketch is loaded.
- The size and memory used in this file never changes.
- Load the Master sketch on another Arduino to create the I2C slave, master relation.
What do you get :
- Labels:
- They are static. Their values can not be changed.
- The more words used. The more EEPROM space used.
- Text boxes:
- They are dynamic.
- Numbers or Text can be sent from the I2C master using the Text Box object reference number.
- Initial text is stored in the EEPROM.
- Buttons:
- Buttons are animated. (they appear to move when pressed)
- When pressed their object reference number is registered.
- The I2C master will constantly poll looking if a number is registered
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.