This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Led light control of th thingy.

Hello,

I try to control led light of the thingy52 throw a MIT app inventor application.

I use the UUID : ef680300-9b35-4933-9b10-52ffa9740042

and thr characterixtic : ef680301-9b35-4933-9b10-52ffa9740042

I try to send 4 byes : 1 - 0 - 255 - 0, in order to have a green constant light.

But it does not do anything.

When I want to read the characteritics, it send me 2 2 20 172 13.

But I dont understand why the is 13 in th chain.

Parents Reply
  • Hi,

    I can confirm that you need to terminate the command with a carriage return character (the 0x0D byte). The line that you want, e.g. 2 2 20 172 13 in decimal, and where the last value of 13 is the carriage return, corresponds to writing a string of the following five bytes to the characteristic: 0x02, 0x02, 0x14, 0xAC, 0x0D.

    So the remaining question is how to write that string using the MIT app inventor application, for which I am afraid I cannot help you. Is there any support services or forums for that application, that you can use in order to figure this out?

    Regards,
    Terje

Children
Related