26 08, 2023

Is there a function that converts int to float and vice versa?

2023-08-26T13:05:02+10:00Categories: , |

There are two functions that can be used for 16-bit conversion.

Converting integer(int_value) to float (float_value):

Float_value := flt_FTOI()

Converting float (float_value) to integer (int_value) :

Int_value := flt_ITOF(float_value)

You can check Diablo16 Internal Functions Manual for more information about the functions.

26 08, 2023

How can I load back the Serial SPE program?

2023-08-26T10:52:30+10:00Categories: , |

If you like to reprogram the display module with the default Serial SPE program. Simply follow the following steps:

  1. Open Workshop4 IDE and then create a new project
  2. Select the display module that you are using and proceed
  3. In the Choose your Environment screen, select Serial
  4. Connect your display module to the computer
  5. Go to the Comms tab and select the correct COM port
  6. Finally, in the Tools tab, click on the SPE Load button to upload the SPE program into your display module
Go to Top