Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-os nRF24L01P
Diff: main.cpp
- Revision:
- 4:47f95dbf49b5
- Parent:
- 3:57925f75ede1
- Child:
- 5:e0a364225ab5
--- a/main.cpp Fri Apr 16 12:20:18 2021 +0000
+++ b/main.cpp Fri Apr 23 16:14:10 2021 +0000
@@ -35,11 +35,12 @@
int consigneData[6];
pc.baud(115200); // Débit de la liaison série PC
+ pc.printf("Emetteur nRF connecte \n\r");
my_nrf24l01p.powerUp();
// paramétrage
- my_nrf24l01p.setRfFrequency(2416); // Définition de la fréquence du canal d'E/R
+ my_nrf24l01p.setRfFrequency(2414); // Définition de la fréquence du canal d'E/R
my_nrf24l01p.setAirDataRate(NRF24L01P_DATARATE_1_MBPS); // Définition du débit de la communication RF
my_nrf24l01p.setRfOutputPower(-6);