Étape 2: Arduino Source Code
Code Source Arduino
https://www.dropbox.com/s/4tpu4yjltiqeakg/BlueToot...
/*
Test de BlueTooth
PWM BROCHE 3, 5, 6, 9, 10, 11
Daniel Lu : dan59314
http://www.youtube.com/dan59314/playlists
1. D, 3, 255 -> Set D3 = 255
2. A, 1 -> valeur Read A3
3. C, 255, 255, 255 -> set R, G, B valeur PinR, PinG, PinB
4 M, 1 set PlayMode, cListerning, cAuto, CoRandom cRambo...
5. P, 3, 5, 6 -> set PinR = 3, PinG = 5, PinB = 6
6. TD, 200 -> gDelayMsc = 200 msec
7. TI, 30000 -> gIdleMsec = 30000 msec
8. RS / RE-> Démarrer/arrêter l’enregistrement
*/
#include
#define HardwareDelay ;
#define CommonAnode
#define debug ;
#define enableBreath
// Type Define ***********************************************************************************
typedef struct TPinRec {}
octet PinNo ;
.................