TheThingsNetwork / workshops

Workshops for The Things Network
MIT License
81 stars 31 forks source link

ttu = ttn? #20

Closed femans closed 8 years ago

femans commented 8 years ago

Hi, I was at the workshop today, cool stuff. I followed the tutorial thing and got an error after replacing the loop function, because it says there ttu, and in the example I loaded only ttn is defined in the example I loaded. When I changed it, it worked perfectly. Is this a typo? It is in 2 different snippets. Anyway I forgot to mention it because got in to talks with people and then forgot, so I put it here. Cheers

FokkeZB commented 8 years ago

Hi, in version 0.17 of the Arduino library we renamed it from TheThingsUno to TheThingsNetwork and updated included examples to instantiate the class as ttn instead of ttu. So if you copy past snippets from older examples you indeed have to make that change. We will update the examples repo coming week to align them with the current version. Thanks!

FokkeZB commented 8 years ago

Cleaning up