We updated the code and now it possible not only to save learned raw codes on the sd card, but also to read and send Pronto codes that are stored on the sd card.
Hallo!
Ich habe gerade meinen Aduino Nano mit einem GY-BME/P-280 verbunden über SPI verbunden.
Im Sketch habe ich nur die PINS geändert und zwar auf:
#define BMP_SCK 13
#define BMP_MISO 12
#define BMP_MOSI 11
#define BMP_CS 10
Ich bekomme aber bei der Ausgabe am seriellen Monitor nur "Hyroglyphen" zB 5��,�lh����}����'�O8��m�h,�
Mit einem anderen Sketch funktioniert der Sensor einwandfrei. Auch mit einem anderen Nano dasselbe Ergebnis.
Hat jemand eine Idee was das Problem sein könnte?
Zusatzfrage da ich in C++ nicht so firm bin: Könnte es sein, dass MY_DEBUG oder MY_RADIO_NRF24 das problem verursacht. Was machen diese Definitionen eigentlich?
Grüße
@OldSurferDude
no offence but rtfm
#define MY_NODE_ID 3
is all you need to set predefined node id's, change 3 to any number from 1 to 254, it's worth having a spreadsheet with assigned ID's to avoid doubles, or at least write ID on the node itself.
If you ommit above define Mysensors store ID in eeprom after it gets autoassigned by gateway/controller on first start.