'constant' keyword block

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

« précédent - suivant »


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?



Here is the dropbox link for the screenshot in case it was not visible in the original post:


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