'constant' keyword block

Démarré par sparky, Octobre 23, 2018, 07:03:01 pm

« précédent - suivant »

sparky

Hi All,
    I am running into some code conversion issues while using the block with 'constant' keyword. The arduino@blockly interface is unable to generate the correct 'C' code in any sketch which uses this block. For illustration, I wrote a simple sketch as shown below. It also shows the corresponding 'C' code generated by the blockly interface.


Has anyone faced a similar problem? If not, is there an issue with my usage or is there a real problem here?

Thanks,

sparky

Here is the dropbox link for the screenshot in case it was not visible in the original post:
https://www.dropbox.com/s/yzbovqos2qq79me/Screen%20Shot%202018-10-22%20at%208.30.47%20PM.png?dl=0

SebCanet

Sorry, there was a mistake while I was trying something...
Now that's ok.