Update example with packet size and discussion link

This commit is contained in:
Crsarmv7l 2025-02-12 12:28:16 +01:00 committed by GitHub
parent 3793e94d82
commit 97264c5c4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,10 +82,11 @@ void setup() {
void loop() {
Serial.print(F("[CC1101] Transmitting packet ... "));
// you can transmit C-string or Arduino string up to 64 characters long
// you can transmit C-string or Arduino string up to 255 characters long
int state = radio.transmit("Hello World!");
// you can also transmit byte array up to 64 bytes long
// you can also transmit byte array up to 255 bytes long
// With some limitations see here: https://github.com/jgromes/RadioLib/discussions/1138
/*
byte byteArr[] = {0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF};
int state = radio.transmit(byteArr, 8);