Hi, all,
I am here asking for your help again.
As you know, I am trying to learn day by day how to program and, since a few days ago I am having a trouble with a block called “Sensor List” included in the @Taifun Tools extension. I want to use this block to obtain only the name of the sensors installed in my phone (Samsung A31) so, searching in Google I find this article giving a solution based in MIT AI2. Well, I done a little adaptation in the code and I done a test in MIT AI2 working perfectly:
After that, I tried to apply the same code in Kodular and… the chaos is here, I have the next error:
And the information obtained is totally different:
Doing a validation in JSON formatter, the information obtained in MIT AI2 is correct, but not occurs the same with the information obtained in Kodular:
Reading this article of @plantdoc2018, I think the error is caused by the parenthesis located at the beginning and in the end, so I tried to remove them, change them for brackets, but no way, it doesn’t work, I only obtain different errors.
My question is easy: using the same code, is Kodular working in a differente way in comparison with MIT AI2 or am I doing something wrong?
Have in mind, please, that I am a beginner so, don’t be cruel with me.
As always, thank you so much for your help. Best regards,
Joaquin.-