storieskasce.blogg.se

Pbp3 update
Pbp3 update







  1. PBP3 UPDATE SERIAL
  2. PBP3 UPDATE MANUAL

This is easier to do with a supporting library on the MCU side but is also possible without a library just needs extra work.Ĭode: '***************************************** This would still be as complex to achieve and would need some code to be written in Genie to handle the command sent which Pro allows you to do.

pbp3 update

If you have the Pro version of Workshop, you can do exactly what you want essentially creating a method to send command, x, y, color, font, var using Magic bytes. We already have the solution for programmers to do this in Genie.

PBP3 UPDATE SERIAL

This is where Genie differs from Serial as in the Serial mode you are sending a serial command to the display which is translated to a command to do a supported function on the display. Visie-Genie writes to pre-defined objects so in this case it is a pre-defined string object so all we have to do is convert what we need to send to a string, calculate a checksum and send. I very much like the MikroBasic and at the end of this, getting a method to work with genie will be great. We do try to cover every customer needs and we have many environments to try to at least provide an alternative method where MCU's and programming languages are a bit unique or not as widely used. Ideally you would need to automate this process and determine the string length and the ASCII value of each character of the string You may need to check on this as I'm not sure if '2' would be the ASCII equivelant of character 2 Not sure how you would deal with the string in basic but it would beĬhecksum = 0x02 xor 0x01 xor 0x07 xor '2' xor '2' xor '.' xor '7' xor ' ' xor 'C' xor 0x00

PBP3 UPDATE MANUAL

I looked at the MikroBasic manual and you have the 'xor' bitwise operator so you need to create a checksum using the above line of data for each individual character. I would guess that you are using a Strings object for the Ambient and Body temperatures so they would be Strings0 and Strings1Ġx02, 0x01, 0x07, "22.7 C", 0x00 followed by a checksum of all of the previous values XOR'd together I don't have a ready made example for doing this and it is a little different to the Serial control you've been using before as it has a calculated checksum to send as the 6th byte of the genie message.









Pbp3 update