So even with an Correctly set Baudrate i can't get the Serial Monitor in Arduino IDE 2.0.3 to work, i just get sluggish characters like ��x��x�x���x�x��������x�x�x�x�xx��x�x��xx����x�x��x�x�xx���x�x�x��x��x�x���x�x�x���x�x�x���x��x�x��x�x�x�xx�xx�xx�x�x�x�x�x�x�x�x��x��x�x�xx�x�x��x
this. I also tried the current 2.4 development branch from mysensors.. It still does'nt work. But if i just put one of the Normal Sensor sketches on it (without anything from the mysensors stuff), it works just fine.
Here is one of the Example Sketches which does'nt involve any Sensors and was just for testing of the Serial Monitor.
/*
* The MySensors Arduino library handles the wireless radio link and protocol
* between your home built sensors/actuators and HA controller of choice.
* The sensors forms a self healing radio network with optional repeaters. Each
* repeater and gateway builds a routing tables in EEPROM which keeps track of the
* network topology allowing messages to be routed to nodes.
*
* Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
* Copyright (C) 2013-2019 Sensnology AB
* Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
*
* Documentation: http://www.mysensors.org
* Support Forum: http://forum.mysensors.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
*******************************
*
* REVISION HISTORY
* Version 1.0 - tekka
*
* DESCRIPTION
* Passive node example: This is a passive & independent reporting node
*
*/
// Enable debug prints
#define MY_DEBUG
#define MY_BAUD_RATE 115200
// Enable passive mode
#define MY_PASSIVE_NODE
// Passive mode requires static node ID
#define MY_NODE_ID 100
// Enable and select radio type attached
#define MY_RADIO_RF24
//#define MY_RADIO_NRF5_ESB
//#define MY_RADIO_RFM69
//#define MY_RADIO_RFM95
#define MY_RF24_CE_PIN 10
#define MY_RF24_CS_PIN 9
#define MY_RF24_DATARATE RF24_1MBPS
#define MY_RF24_PA_LEVEL RF24_PA_MAX
#include <MySensors.h>
#define CHILD_ID 0 // Id of the sensor child
// Initialize general message
MyMessage msg(CHILD_ID, V_TEMP);
void setup()
{
Serial.begin(115200);
}
void presentation()
{
// Send the sketch version information to the gateway and controller
sendSketchInfo("Passive node", "1.0");
// Register all sensors to gw (they will be created as child devices)
present(CHILD_ID, S_TEMP);
}
void loop()
{
// generate some random data
send(msg.set(25.0+random(0,30)/10.0,2));
sleep(2000);
}