utilisation des entrees analogiques + entree digitale

Dependencies:   BSP_B-L475E-IOT01 mbed

Fork of DISCO_L475VG_IOT01-QSPI-BSP by ST

Committer:
bcostm
Date:
Tue Apr 18 14:28:26 2017 +0200
Revision:
1:91efecd390b4
Parent:
0:e625f731ec74
Child:
4:48fd4b00cfce
Add QSPI demo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bcostm 0:e625f731ec74 1 #include "mbed.h"
bcostm 0:e625f731ec74 2
bcostm 0:e625f731ec74 3 DigitalOut led1(LED1);
bcostm 0:e625f731ec74 4
bcostm 1:91efecd390b4 5 void QSPI_demo(void);
bcostm 1:91efecd390b4 6 void QSPI_MemoryMapped_demo(void);
bcostm 0:e625f731ec74 7
bcostm 0:e625f731ec74 8 int main()
bcostm 0:e625f731ec74 9 {
bcostm 1:91efecd390b4 10 QSPI_demo();
bcostm 1:91efecd390b4 11 QSPI_MemoryMapped_demo();
bcostm 0:e625f731ec74 12 while(1) {
bcostm 1:91efecd390b4 13 led1 = !led1;
bcostm 1:91efecd390b4 14 wait(1.0);
bcostm 0:e625f731ec74 15 }
bcostm 0:e625f731ec74 16 }