| 244 | #endif |
| 245 | |
| 246 | void setup() { |
| 247 | |
| 248 | #ifdef ARDUINO |
| 249 | Serial.begin(115200); |
| 250 | Serial.print("Hello from T-Beam on PlatformIO!\n"); |
| 251 | |
| 252 | // Setup user button |
| 253 | pinMode(BUTTON_PIN, INPUT); |
| 254 | attachInterrupt(BUTTON_PIN, userKey, FALLING); |
| 255 | #endif |
| 256 | |
| 257 | RNS::loglevel(RNS::LOG_TRACE); |
| 258 | //RNS::loglevel(RNS::LOG_MEM); |
| 259 | |
| 260 | /* |
| 261 | { |
| 262 | //RNS::Reticulum reticulum_test; |
| 263 | RNS::Destination destination_test({RNS::Type::NONE}, RNS::Type::Destination::IN, RNS::Type::Destination::SINGLE, "test", "test"); |
| 264 | } |
| 265 | */ |
| 266 | |
| 267 | reticulum_setup(); |
| 268 | |
| 269 | #ifdef ARDUINO |
| 270 | //Serial.print("Goodbye from T-Beam on PlatformIO!\n"); |
| 271 | #endif |
| 272 | } |
| 273 | |
| 274 | void loop() { |
| 275 |
no test coverage detected