Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 5 months ago.
Where are the examples?
Hi everybody!
Do you know where are all the examples gone??
When i put the word "example" in the Search space it gives me about three results, which i'm sure are not the only ones.
Thank you!
while(true) { if(Start_triggered){ blue.write(1); red.write(1); green.write(0); for(int i=0;i<1000;i++){ if(Start_triggered){ printf("\r\nAcquisizione numero %d\r\n",i); fxos.get_data(&accel_data, &magn_data); nget+=3; insert_data(nget,(int*)numbers); wait(0.1); } if(Start_triggered==false){ nsave++; save_data(nsave,nget+2,(int*)numbers,(int*)values); free(numbers); nget = -3; break; } if(i>=15 && i%15==0){ nsave++; save_data(nsave,nget+2,(int*)numbers,(int*)values); free(numbers); nget = -3; } } } if(SW2_triggered){ red.write(1); blue.write(0); printf("\r\n "); printf("\r\nLettura\r\n"); wait(2); read_data(nsave,(int*)values); SW2_triggered = false; } wait_ms(50); red.write(0); green.write(1); blue.write(1); } }