RAKWireless / WisBlock

Quickstart, tutorials and examples for the RAKwireless WisBlock product line.
https://www.rakwireless.com
MIT License
158 stars 117 forks source link

Issue with the region. #6

Closed HGarza-Ideas closed 3 years ago

HGarza-Ideas commented 3 years ago

Hi, I just purchase this kit 2 and I want to do the example, but I do not know why always it start as a European model, I bought the American model, I do not where it changes or if RAK gave me a different model. Captura

beegee-tokyo commented 3 years ago

It is written somewhere in the documentation, but I see we need to make this information easier to find.

You can select the region in Arduino IDE from the Tools menu. You will see an option Region:

image

If using PlatformIO you set the region in the platformio.ini file of your project as build_flags:

[env:rak4631]
platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
upload_speed = 115200
build_flags = -DREGION_US915