Capteur de distance VL6180
Dependencies: TS_DISCO_F746NG mbed LCD_DISCO_F746NG BSP_DISCO_F746NG VL6180x BUTTON_GROUP
Revision 2:ffdb56ed9b36, committed 2020-06-26
- Comitter:
- azerty000
- Date:
- Fri Jun 26 01:58:28 2020 +0000
- Parent:
- 1:126b6cd0f4f5
- Commit message:
- Capteur de distance VL6180
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BSP_DISCO_F746NG.lib Fri Jun 26 01:58:28 2020 +0000 @@ -0,0 +1,1 @@ +https://mbed.org/teams/ST/code/BSP_DISCO_F746NG/#85dbcff443aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BUTTON_GROUP.lib Fri Jun 26 01:58:28 2020 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/MikamiUitOpen/code/BUTTON_GROUP/#af578b53ff0e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LCD_DISCO_F746NG.lib Fri Jun 26 01:58:28 2020 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/teams/ST/code/LCD_DISCO_F746NG/#d44525b1de98
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TS_DISCO_F746NG.lib Fri Jun 26 01:58:28 2020 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/teams/ST/code/TS_DISCO_F746NG/#fe0cf5e2960f
--- a/VL6180x.lib Sun May 10 19:10:32 2015 +0000 +++ b/VL6180x.lib Fri Jun 26 01:58:28 2020 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/users/highroads/code/VL6180x/#31313127c530 +http://developer.mbed.org/users/highroads/code/VL6180x/#99fb447bba81
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/iut.h Fri Jun 26 01:58:28 2020 +0000 @@ -0,0 +1,128 @@ + +/******************************************************************************* +* generated by lcd-image-converter rev.90f620c from 2017-10-04 21:09:44 +0500 +* image +* filename: unsaved +* name: téléchargement +* +* preset name: Color A8R8G8B8 +* data block size: 32 bit(s), uint32_t +* RLE compression enabled: no +* conversion type: Color, not_used not_used +* split to rows: yes +* bits per pixel: 32 +* +* preprocess: +* main scan direction: top_to_bottom +* line scan direction: forward +* inverse: no +*******************************************************************************/ + + + typedef struct { + const uint32_t *data; + uint16_t width; + uint16_t height; + uint8_t dataSize; + } tImage_iut; + +#include <stdint.h> + + + +static const uint32_t image_data_iut[3015] = { + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + // ██████████████████████████████████████████████████████████████▓████ + // █████████████████████████████████████████████████████████████░∙∙███ + // █████████████████████████████████████████████████████████████∙∙∙▓██ + // █████████████████████████████████████████████████████████████▒∙░███ + // ██████████████████████████████████████████████████████████▓▓███████ + // ██████████████████████████████████████████████████████████∙∙███████ + // ████████████████████████████████████████████████████▒█████▓▓███████ + // ████████████████████████████████████████████████████∙██████████████ + // █████░███░▓█▒▒░∙░███░█▓░███▓░██░∙░███░█▒░██∙∙░██▒▓█∙∙░░██▓∙∙▒██████ + // █████∙███░▓█▒∙▓█░░██∙██∙▓██░▓█∙▒█▓∙██░∙░▓█∙▓█▒██░▒█▓∙▓▓█▓∙██∙▒█████ + // █████∙███░▓█▒▒███∙██∙██▒░██∙██∙███░▒█░░███∙▒████░▒██∙███∙▓███∙█████ + // █████∙███░▓█▒▒███∙██∙███∙█▒▒█▓∙░∙∙∙▒█∙▓████░∙░██░▒██∙███∙░∙∙∙∙█████ + // █████∙███∙▓█▒▒███∙██∙███░▒∙███∙██████∙▓██████░▒█░▒██∙███∙▓█████████ + // █████∙░▓░∙▓█▒▒███∙██∙████∙░███░░▓▓∙██∙▓███∙▒▓∙▓█░▒██∙▒▒██∙▓▓░░█████ + // ██████▒░▓▒██▓▓███▒██░████▒█████▒░░███▒█████░░▓██▒▓███░▒███░░▒██████ + // ███████████████████████████████████████████████████████████████████ + // █████▓▓████▒████▓▓███▓██▓▒███████▒████▓█████▒▓██▓█████▓██▓▓██▓█████ + // █████∙▒∙▒██∙▒██▒░▒∙██∙█▓∙▒░█████∙▒∙███∙░██▓∙▒∙▓█∙█████∙▒██∙█░▒█████ + // █████∙█▒░█░▓∙██▒▓█░▓█∙█▓∙▓██████∙▒███▒▒∙██∙▓████∙████▒▒∙██▒░∙██████ + // █████∙∙∙██∙▒∙▓█▒∙∙░██∙███▒∙█░∙▒██▒∙██∙▒∙▒█∙█████∙████∙▒∙▒██∙███████ + // █████∙███▒░▓▒∙█░▓▓∙██∙█▓░▓∙█████░▓∙█▓░▓▓∙█▒∙▓∙▓█∙▒▒█▓░▓▓∙██∙███████ + // █████▒███▒███▒█▓██▓██▒██▓▒██████▓▒▓█▓███▓██▓▒▓██▒▒▒█▓███▒██▒███████ + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + // ██████████████████████████████████▓████▓█████▓█████████▓███████████ + // █████∙█▒▒█▓░▓░∙░▒██▓∙░∙▒█░░░░███▓∙░∙▓██∙▒██░∙░∙█∙██∙▓██∙▒██░░█▒░███ + // █████∙█▒▒█▓░██∙████▓░██∙█░▓█████∙▓████▒▒∙█▓∙████∙▓█░▓█▒▒∙██░∙▒▓▒███ + // █████∙█▒▒█▓░██∙████▓░██∙█░░░▒███∙█████∙▓░▓▓░████░░░∙▓█∙▓░▓█░█∙░▒███ + // █████∙█▓░█▒░██∙████▓░█▒∙█░▓█████░░█▒█▓░▒░░█∙▓█▒█∙██░▓▓░▒▒∙█░██∙▒███ + // █████░██▒∙░███░████▓░░░██▒░░∙████░∙░█░▓██░██░∙▒█░██░█░▓██░█░██▒▒███ + // ███████████████████████████████████████████████████████████████████ + // ███████████████████████████████████████████████████████████████████ + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xfffcfbfc, 0xffbc9dac, 0xffe8dde3, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff670d41, 0xff530027, 0xff4c001f, 0xfff5eff3, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff48001a, 0xff61003a, 0xff4f0022, 0xffd3bec7, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffad7d98, 0xff58002d, 0xff803660, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffb68da4, 0xffb486a1, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff450017, 0xff3f000f, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff9d6684, 0xffede4e9, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffc9a7bb, 0xffc5a4b6, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff420012, 0xfffefffe, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffeee3ea, 0xff6c1a47, 0xffffffff, 0xffffffff, 0xffffffff, 0xff89466c, 0xffccb4be, 0xffffffff, 0xffaa7895, 0xffad8499, 0xff813762, 0xff500025, 0xff7c305a, 0xfffcfafc, 0xffffffff, 0xffffffff, 0xff681241, 0xfffeffff, 0xffd6c2cc, 0xff701e4b, 0xffffffff, 0xffffffff, 0xffffffff, 0xffccadbe, 0xff792a56, 0xffffffff, 0xffffffff, 0xff863c68, 0xff4f0023, 0xff671241, 0xffe3d5dd, 0xffffffff, 0xffffffff, 0xff823b61, 0xffe3d8dc, 0xff935378, 0xff6d1e4a, 0xffffffff, 0xffdfccd7, 0xff650c3e, 0xff57002e, 0xff89446a, 0xffece2e8, 0xffffffff, 0xff9e6785, 0xffbb97a8, 0xfff2ebee, 0xff650d3d, 0xff5e0035, 0xff6f1b4c, 0xff6b1745, 0xfffcfcfd, 0xffffffff, 0xffbc95ab, 0xff5b0032, 0xff55002a, 0xffa46f8c, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffeadde6, 0xff49001c, 0xffffffff, 0xffffffff, 0xffffffff, 0xff6b1347, 0xffc1a1b0, 0xffffffff, 0xff9d6484, 0xff48001a, 0xffc5a2b7, 0xfff0eaed, 0xff742051, 0xff762654, 0xffffffff, 0xffffffff, 0xff430014, 0xfff9faf9, 0xffffffff, 0xff4a001c, 0xffd0b5c5, 0xffffffff, 0xffffffff, 0xff6b1146, 0xffb1879e, 0xffffffff, 0xff5c0033, 0xff924f77, 0xffffffff, 0xffc7a6b9, 0xff40000e, 0xfff3eef0, 0xffffffff, 0xff6e1449, 0xff57002e, 0xff823663, 0xffcdb4c1, 0xffffffff, 0xff4a001b, 0xffd4bbca, 0xfff5f2f4, 0xff95597b, 0xffdfcfd8, 0xffffffff, 0xff863d67, 0xffa97991, 0xffffffff, 0xffd4b3c9, 0xff520026, 0xffcda9c1, 0xffd5b6ca, 0xffffffff, 0xffbc94ac, 0xff510023, 0xffe8dbe3, 0xfff4f1f2, 0xff5f0038, 0xffa2688a, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffebdee7, 0xff4d0021, 0xffffffff, 0xffffffff, 0xffffffff, 0xff6f194b, 0xffc3a4b2, 0xffffffff, 0xff995d7f, 0xff945178, 0xffffffff, 0xffffffff, 0xffe4d6de, 0xff4d0020, 0xffffffff, 0xffffffff, 0xff480019, 0xfff9f9f9, 0xffffffff, 0xffa97693, 0xff762453, 0xffffffff, 0xfff0eaed, 0xff440014, 0xffffffff, 0xffd9c4d0, 0xff520027, 0xffffffff, 0xfffeffff, 0xffffffff, 0xff823b64, 0xffa5708e, 0xffffffff, 0xff6e1549, 0xff823662, 0xffffffff, 0xffffffff, 0xffffffff, 0xff4f0022, 0xff9f6587, 0xfff5f4f4, 0xffffffff, 0xffffffff, 0xffffffff, 0xff89426b, 0xffaa7a93, 0xffffffff, 0xffffffff, 0xff4a001c, 0xfff6f5f5, 0xffffffff, 0xffffffff, 0xff5e0035, 0xffceb8c3, 0xffffffff, 0xffffffff, 0xffdfd3d9, 0xff520026, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffebdee7, 0xff4d0022, 0xffffffff, 0xffffffff, 0xffffffff, 0xff711c4e, 0xffc3a4b2, 0xffffffff, 0xff975a7d, 0xffa06e89, 0xffffffff, 0xffffffff, 0xffe6d8e1, 0xff4e0021, 0xffffffff, 0xffffffff, 0xff480019, 0xfff9f9f9, 0xffffffff, 0xffffffff, 0xff440015, 0xffffffff, 0xff975a7e, 0xff8f4e74, 0xffffffff, 0xffbf9fb0, 0xff590030, 0xff64103d, 0xff5f0737, 0xff600938, 0xff61063a, 0xffa06d88, 0xffffffff, 0xff660a40, 0xffc8aaba, 0xffffffff, 0xffffffff, 0xffffffff, 0xffece2e9, 0xff792a57, 0xff470019, 0xff6a1144, 0xfff9f7f8, 0xffffffff, 0xff89426b, 0xffaa7a93, 0xffffffff, 0xffffffff, 0xff4a001c, 0xfff2edef, 0xffffffff, 0xffffffff, 0xff5b0030, 0xff671241, 0xff600938, 0xff5f0837, 0xff620c3b, 0xff61053a, 0xfffcfbfc, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffede2e9, 0xff460018, 0xffffffff, 0xffffffff, 0xffffffff, 0xff5d0034, 0xffc4a7b5, 0xffffffff, 0xff985a7d, 0xff9e6a87, 0xffffffff, 0xffffffff, 0xffe5d7e0, 0xff4f0022, 0xffffffff, 0xffffffff, 0xff480019, 0xfff9f9f9, 0xffffffff, 0xffffffff, 0xff8a456c, 0xffa77593, 0xff4f0020, 0xfff3edf1, 0xffffffff, 0xffe3d4dd, 0xff4c001e, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff65073d, 0xffd3c1c9, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff833b62, 0xff904e74, 0xffffffff, 0xff89426b, 0xffaa7a93, 0xffffffff, 0xffffffff, 0xff49001a, 0xfffafaf9, 0xffffffff, 0xffffffff, 0xff640a3e, 0xffcaafbe, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff62053a, 0xff762253, 0xffccaec0, 0xff843c65, 0xff49001b, 0xffc4a6b4, 0xffffffff, 0xff935378, 0xff9a6482, 0xffffffff, 0xffffffff, 0xffe3d4de, 0xff480019, 0xffffffff, 0xffffffff, 0xff410010, 0xfff8f8f8, 0xffffffff, 0xffffffff, 0xffe8dee3, 0xff410011, 0xff7c2d5b, 0xffffffff, 0xffffffff, 0xffffffff, 0xff7b2d59, 0xff690e44, 0xffd0b8c5, 0xffbd95ac, 0xff450015, 0xffdbc9d4, 0xffffffff, 0xff5f0035, 0xffcfbbc5, 0xffffffff, 0xffffffff, 0xffe7dbe1, 0xff4a001a, 0xffb1859e, 0xffd6c1cd, 0xff63053b, 0xffb58aa3, 0xffffffff, 0xff843a65, 0xffa6748e, 0xffffffff, 0xffffffff, 0xff56002a, 0xff9e6586, 0xffae8099, 0xffffffff, 0xffdbc4d3, 0xff420010, 0xffb48ba2, 0xffd4bcc9, 0xff752552, 0xff7e365c, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xfff9f8f8, 0xff8e4e71, 0xff742852, 0xffc3a2b5, 0xffaa7b94, 0xffd8c4cd, 0xffffffff, 0xffb990a8, 0xffc1a1b2, 0xffffffff, 0xffffffff, 0xffede4ea, 0xff8c4c6e, 0xffffffff, 0xffffffff, 0xff88446a, 0xfffbfbfb, 0xffffffff, 0xffffffff, 0xffffffff, 0xff925377, 0xffdbc6d1, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffb0829c, 0xff732751, 0xff7f355f, 0xffd9c4d0, 0xffffffff, 0xffffffff, 0xff9b6381, 0xffe1d3d9, 0xffffffff, 0xffffffff, 0xffffffff, 0xffdac2d1, 0xff8b466d, 0xff732751, 0xffb2879f, 0xffffffff, 0xffffffff, 0xffb1869d, 0xffc8abb9, 0xffffffff, 0xffffffff, 0xffdfced7, 0xff7d315d, 0xff8c4c6f, 0xffffffff, 0xffffffff, 0xffe0d0d9, 0xff803861, 0xff742853, 0xffa77691, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xfff8f5f6, 0xffbf9cb1, 0xffbd97ae, 0xffd8c7d0, 0xffffffff, 0xffffffff, 0xffffffff, 0xffb1819e, 0xfffbfafb, 0xffffffff, 0xffffffff, 0xffdac6d1, 0xffbf9bb1, 0xffbd98ae, 0xffe7dde2, 0xffffffff, 0xfffefdfe, 0xffbe9ab0, 0xffffffff, 0xffffffff, 0xffceb3c3, 0xffb07b9c, 0xffeae1e5, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffe3d5de, 0xffac7497, 0xffdfced7, 0xffffffff, 0xffffffff, 0xffffffff, 0xffc5a0b7, 0xffe9dde4, 0xffffffff, 0xffffffff, 0xffffffff, 0xffe3d4dc, 0xffad7498, 0xffceb2c2, 0xffffffff, 0xfffefdfd, 0xffbe99af, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffbd94ad, 0xffeee5eb, 0xffffffff, 0xffcfb5c3, 0xffd7c0cd, 0xffffffff, 0xfff7f3f5, 0xffb991a9, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffeadce5, 0xff470018, 0xff955b79, 0xff56002a, 0xffb1849d, 0xffffffff, 0xffddccd6, 0xff360002, 0xffb0839c, 0xffffffff, 0xffffffff, 0xff8e4872, 0xff6f1b4a, 0xff925577, 0xff49001a, 0xffe1cfd9, 0xfffffeff, 0xff430013, 0xffffffff, 0xffc5a6b7, 0xff5f0036, 0xffa06d88, 0xff6b1546, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffede4e8, 0xff4d0020, 0xffa87890, 0xff610039, 0xfff9f6f8, 0xffffffff, 0xfffcfdfc, 0xff420012, 0xff7e345d, 0xffffffff, 0xffffffff, 0xffc29fb3, 0xff470019, 0xff9b6381, 0xff530027, 0xffd5c0ca, 0xfffafcfa, 0xff430012, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xfff7f4f6, 0xff3b0009, 0xff8c4b70, 0xffffffff, 0xffdeced7, 0xff40000f, 0xffffffff, 0xff7a2a59, 0xff965c7c, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffebdde6, 0xff55002b, 0xffffffff, 0xffae8298, 0xff7b2f5a, 0xffffffff, 0xff792a58, 0xffbb93aa, 0xff5b0032, 0xffffffff, 0xffffffff, 0xff904b75, 0xffb995a6, 0xffffffff, 0xff6d1a49, 0xffbf93af, 0xffffffff, 0xff4f0022, 0xffffffff, 0xffbd9bac, 0xff540028, 0xffb892a7, 0xffffffff, 0xffffffff, 0xffece2e8, 0xffe3d4dd, 0xfff7f3f6, 0xffebe0e5, 0xff460016, 0xffaa7895, 0xfff0eaec, 0xffffffff, 0xffffffff, 0xffa87492, 0xffa4728d, 0xff58002d, 0xfff8f2f7, 0xffffffff, 0xff550029, 0xffd6bfcd, 0xffffffff, 0xffffffff, 0xffffffff, 0xfff6f7f6, 0xff4e0021, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff995f80, 0xffad7b99, 0xff59002e, 0xfffeffff, 0xffffffff, 0xff9d6584, 0xff6a1145, 0xff5e0035, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffece1e8, 0xff510026, 0xff530028, 0xff55002a, 0xffe8d9e2, 0xfffdfefe, 0xff430013, 0xff9c6584, 0xff4d0020, 0xffcfb3c4, 0xffffffff, 0xff99597f, 0xff54002a, 0xff48001a, 0xff7d2c5c, 0xffffffff, 0xfffefbfe, 0xff4f0022, 0xffffffff, 0xffffffff, 0xffdac6d2, 0xff925276, 0xff450014, 0xffffffff, 0xff843f66, 0xff4e0021, 0xffb0869c, 0xffffffff, 0xffefe7ec, 0xffa06b89, 0xff48001a, 0xffdbcbd3, 0xffffffff, 0xff54002a, 0xff8d4a71, 0xff64033c, 0xffa06a88, 0xffffffff, 0xff530025, 0xffdccbd5, 0xffffffff, 0xffffffff, 0xffffffff, 0xfff6f7f6, 0xff4f0022, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff4e0020, 0xff945779, 0xff5d0034, 0xffae7f9a, 0xffffffff, 0xffffffff, 0xff520025, 0xffdccad4, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffe9dae4, 0xff4b001f, 0xffffffff, 0xffffffff, 0xffffffff, 0xff925278, 0xff88436b, 0xffc7a7b8, 0xffa36f8c, 0xff65083e, 0xffffffff, 0xff8a406d, 0xffb490a2, 0xffd4bdc9, 0xff57002c, 0xffffffff, 0xfffdf9fd, 0xff460016, 0xffffffff, 0xffb387a0, 0xff7a2e59, 0xffc398b4, 0xff440013, 0xfffdfdfe, 0xffffffff, 0xffffffff, 0xffffffff, 0xffd8c3cf, 0xff660d3f, 0xffc59cb6, 0xff57002c, 0xffd9c8d1, 0xffc7a7ba, 0xff690e43, 0xffc8aaba, 0xffbe9caf, 0xff470018, 0xffffffff, 0xffb1849e, 0xff510025, 0xffb385a0, 0xff650a3e, 0xffd1bac4, 0xfffbfffc, 0xff440013, 0xffa06988, 0xff95587a, 0xffe8dde2, 0xffb78fa6, 0xff701a4c, 0xffc8aaba, 0xffb58ba2, 0xff49001a, 0xffffffff, 0xffffffff, 0xff510026, 0xffeae2e6, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xfff5f0f3, 0xffa98092, 0xffffffff, 0xffffffff, 0xffffffff, 0xffa87a8f, 0xfff5f0f3, 0xffffffff, 0xffffffff, 0xffa17386, 0xffffffff, 0xffcaaebc, 0xffd7c7c9, 0xffffffff, 0xffb2889d, 0xffd8c7cd, 0xffffffff, 0xffa87c90, 0xffffffff, 0xffffffff, 0xffba92a9, 0xff99617d, 0xffdecdd7, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcaadbe, 0xff985f7d, 0xffc8aaba, 0xffffffff, 0xffbc9da8, 0xffdecfd5, 0xffffffff, 0xffffffff, 0xffb0899a, 0xffe5dbdd, 0xffffffff, 0xffcfb2c3, 0xff9a607e, 0xffbe99ae, 0xffffffff, 0xfffcfefc, 0xffa77c8d, 0xffaa7d92, 0xffa27288, 0xffebe3e4, 0xffba99a6, 0xffe5d8de, 0xffffffff, 0xffffffff, 0xffa87c90, 0xffeee6eb, 0xffffffff, 0xffad8395, 0xfff3eef1, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xfff8f5f6, 0xfff7f2f5, 0xfff8f4f6, 0xfff5f1f3, 0xfff6f0f4, 0xfff7f5f6, 0xfff7f2f5, 0xfff5f0f1, 0xfff6f2f5, 0xfff7f4f5, 0xfff6f1f4, 0xfff5f2f3, 0xfff7f3f5, 0xfff6f3f4, 0xfff6f2f3, 0xfff5f1f3, 0xfff7f2f5, 0xfff8f3f6, 0xfff5f1f3, 0xfff5f0f2, 0xfff7f3f5, 0xfff8f5f7, 0xfff6f2f4, 0xfff5eef3, 0xfff6f2f3, 0xfff8f4f7, 0xfff5eff3, 0xfff5f0f3, 0xfff6f2f4, 0xfff7f3f5, 0xfff5eff3, 0xfff6f0f3, 0xfff7f2f5, 0xfff6f3f4, 0xfff5eff3, 0xfff5eff2, 0xfff6f2f5, 0xfff8f3f6, 0xfff5f0f3, 0xfff5f0f3, 0xfff7f2f5, 0xfff8f5f7, 0xfff7f3f4, 0xfff5eef3, 0xfff6f3f4, 0xfff9f4f7, 0xfff5f1f2, 0xfff6f0f3, 0xfff6f3f4, 0xfff8f3f6, 0xfff4f0f2, 0xfff6f1f4, 0xfff5f2f3, 0xfff7f4f5, 0xfff5f0f2, 0xfff4eff2, 0xfff8f3f6, 0xfff8f5f6, 0xfff5f0f2, 0xfff4eff1, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffe8dde0, 0xffe6d7e0, 0xffe6dbe1, 0xffdccdd3, 0xffe3d2dc, 0xffe7dfe1, 0xffe4d7dd, 0xffded1d5, 0xffe4d6dd, 0xffe5dee0, 0xffe3d3dc, 0xffddd1d4, 0xffe6dbe1, 0xffe4ddde, 0xffe1d4d7, 0xffddced3, 0xffe7dae1, 0xffe8dbe2, 0xffe1d6da, 0xffdcced3, 0xffe4d7de, 0xffe9dce4, 0xffe2d6db, 0xffdec6d5, 0xffe3d6da, 0xffe8dbe4, 0xffe2d0da, 0xffdfcfd8, 0xffe2d3db, 0xffe6d8e0, 0xffdfcbd7, 0xffe1ced9, 0xffe4d5df, 0xffe6d9df, 0xffdfcad8, 0xffe0d0d7, 0xffe4d6de, 0xffe7dae1, 0xffe1d1d9, 0xffdfcfd7, 0xffe4d5dd, 0xffe8dce4, 0xffe1d4d7, 0xffdec8d6, 0xffe4dbdd, 0xffebdfe6, 0xffded0d3, 0xffe1d2d8, 0xffe4dcde, 0xffe7d8e2, 0xffded0d6, 0xffe1d6da, 0xffe4dadc, 0xffe4d9dc, 0xffe0d4da, 0xffe1d2da, 0xffe8dae3, 0xffe5dbdd, 0xffdfd1d6, 0xffdccdd2, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffd2d4d7, 0xfff8f8f9, 0xffe3e4e6, 0xffe7e7e8, 0xffffffff, 0xfff2f2f3, 0xffdbddde, 0xffefeff0, 0xffced0d2, 0xffd6d8da, 0xffd1d3d5, 0xffdbddde, 0xffffffff, 0xffffffff, 0xfff3f3f4, 0xffd2d4d5, 0xffcfd1d3, 0xfff3f4f4, 0xffffffff, 0xffffffff, 0xffdfe0e2, 0xffd2d4d6, 0xffd1d3d5, 0xffced0d2, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xfffbfafb, 0xffafb5ba, 0xffe0e2e3, 0xffffffff, 0xffffffff, 0xffffffff, 0xffc0c4c7, 0xfff8f9f9, 0xffffffff, 0xffffffff, 0xffffffff, 0xffd2d5d7, 0xffb2b8bd, 0xffffffff, 0xffffffff, 0xffd1d3d5, 0xfff8f8f8, 0xffffffff, 0xffd7d9db, 0xffeef0f0, 0xffffffff, 0xffffffff, 0xffc9cccf, 0xfff3f3f4, 0xffffffff, 0xffffffff, 0xffd5d6d8, 0xffffffff, 0xffffffff, 0xffe9eaeb, 0xffe0e2e3, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff0e1f2c, 0xffcdd0d3, 0xff6b747b, 0xff737f88, 0xffffffff, 0xffbdc0c3, 0xff2f3c48, 0xffb9bec2, 0xff313e49, 0xff152431, 0xff303d48, 0xff5e6c75, 0xffffffff, 0xffffffff, 0xffb2bbc0, 0xff0d1c29, 0xff3e4a55, 0xff071624, 0xff7c858b, 0xffffffff, 0xff46525c, 0xff2a3844, 0xff414d57, 0xff323f4a, 0xfff5f5f6, 0xffffffff, 0xffffffff, 0xffb9bec1, 0xff00111e, 0xff4b5660, 0xff041422, 0xffa3a9af, 0xffffffff, 0xffedeeee, 0xff000d1b, 0xff798188, 0xffffffff, 0xffffffff, 0xff4d5962, 0xff1a2835, 0xff45515b, 0xff000f1d, 0xffffffff, 0xff071726, 0xffe0e3e4, 0xffffffff, 0xff1d2f3c, 0xffabb0b5, 0xffffffff, 0xfff6f7f7, 0xff00101d, 0xff707982, 0xffffffff, 0xffffffff, 0xff2c3944, 0xff3e4a55, 0xffffffff, 0xff878f96, 0xff5b656d, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff20303c, 0xffd3d5d8, 0xff778086, 0xff808b93, 0xffffffff, 0xffc4c6c8, 0xff36444e, 0xffffffff, 0xffffffff, 0xff1f2d39, 0xfff3f4f5, 0xffffffff, 0xffffffff, 0xffffffff, 0xffb7bec2, 0xff3c4852, 0xffffffff, 0xffffffff, 0xff00101e, 0xfff1f1f2, 0xff545e68, 0xff939ba3, 0xffe7e8ea, 0xffe8e9eb, 0xffffffff, 0xffffffff, 0xffffffff, 0xff1c2a37, 0xffb4b9bd, 0xffffffff, 0xfffbfbfb, 0xffffffff, 0xffffffff, 0xff788088, 0xff757e85, 0xff172633, 0xffffffff, 0xffc4c8cb, 0xff14232f, 0xffffffff, 0xffffffff, 0xfff2f3f3, 0xffffffff, 0xff1f2e3a, 0xffb4b9bd, 0xffdfe0e3, 0xff2c3b47, 0xffb3b7bc, 0xffffffff, 0xff838b92, 0xff6c747c, 0xff12212f, 0xffffffff, 0xffffffff, 0xff414d56, 0xff1d2b38, 0xff92999f, 0xffa6acb1, 0xff697279, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff20303c, 0xffd3d5d8, 0xff767e85, 0xff828c93, 0xffffffff, 0xffcacccf, 0xff33414c, 0xffffffff, 0xffffffff, 0xff1d2b37, 0xffe2e5e6, 0xffffffff, 0xffffffff, 0xffffffff, 0xffb7bec2, 0xff394550, 0xffffffff, 0xffffffff, 0xff1a2835, 0xffd0d2d5, 0xff5e6771, 0xff32404b, 0xff3e4b55, 0xff636e76, 0xffffffff, 0xffffffff, 0xffffffff, 0xff081927, 0xfff7f7f7, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff11212e, 0xffbcc0c3, 0xff303e49, 0xffb0b4b9, 0xffafb4b8, 0xff384650, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff2c3a45, 0xff394651, 0xff414d57, 0xff1e2c38, 0xffb6babf, 0xffffffff, 0xff14232f, 0xffb4b8bd, 0xff3d4853, 0xff9aa0a6, 0xffffffff, 0xff323e49, 0xffcccfd1, 0xff162532, 0xff5b656e, 0xff707980, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff1c2c38, 0xffced0d4, 0xff9ba2a8, 0xff2d3a45, 0xfff8f7f8, 0xff616b73, 0xff56616a, 0xffffffff, 0xffffffff, 0xff192633, 0xffe2e4e5, 0xffffffff, 0xffffffff, 0xffffffff, 0xffb6bec2, 0xff313d48, 0xfff6f6f6, 0xff868e94, 0xff0e1e2b, 0xffffffff, 0xff4c5761, 0xff98a0a6, 0xfffcfbfc, 0xffeaebec, 0xfffcfcfd, 0xffffffff, 0xffffffff, 0xff4b575f, 0xff485560, 0xfff8f8f8, 0xff8d949b, 0xffcfd2d4, 0xffa9aeb2, 0xff2d3a45, 0xff646e76, 0xff5b656e, 0xff313e49, 0xffffffff, 0xff031421, 0xffa9aeb2, 0xffecedee, 0xff646d76, 0xffffffff, 0xff152432, 0xffedeeef, 0xffffffff, 0xff2e3e4a, 0xffbabec3, 0xffb7bbbf, 0xff293743, 0xff656f77, 0xff606a72, 0xff243340, 0xffffffff, 0xff2b3742, 0xffdcdee1, 0xffcbced0, 0xff081825, 0xff737b83, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xff3c4853, 0xffcacdd0, 0xffffffff, 0xff646f77, 0xff1e2c38, 0xff45505c, 0xfff5f5f5, 0xffffffff, 0xffffffff, 0xff39444f, 0xffe3e5e6, 0xffffffff, 0xffffffff, 0xffffffff, 0xffc2c8cc, 0xff34404a, 0xff2c3944, 0xff515c65, 0xffeef0f0, 0xffffffff, 0xff6b747c, 0xff333f4a, 0xff2e3b46, 0xff1c2a37, 0xffeeeff0, 0xffffffff, 0xffffffff, 0xffffffff, 0xff5d6770, 0xff182734, 0xff414d58, 0xffeeeff0, 0xff4c5760, 0xffc7cacd, 0xffffffff, 0xffffffff, 0xff303d47, 0xffe4e5e6, 0xffd0d3d5, 0xff2e3c48, 0xff1d2c38, 0xff727c83, 0xffffffff, 0xff36434e, 0xffe0e3e4, 0xffffffff, 0xff47555f, 0xffcacdd0, 0xff576169, 0xffbdc1c5, 0xffffffff, 0xffffffff, 0xff2e3b46, 0xffdedfe1, 0xff4e5861, 0xffd7d9db, 0xffffffff, 0xff80888f, 0xff7c848b, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff +}; +const tImage_iut iut = { image_data_iut, 67, 45, + 32 }; + +
--- a/main.cpp Sun May 10 19:10:32 2015 +0000 +++ b/main.cpp Fri Jun 26 01:58:28 2020 +0000 @@ -1,117 +1,206 @@ -/****************************************************************************** - * Developed from - * VL6180X_demo.ino - * Example Sketch for VL6180x time of flight range finder. - * Casey Kuhns @ SparkFun Electronics - * 10/29/2014 - * https://github.com/sparkfun/ToF_Range_Finder-VL6180_Library - * - * The VL6180x by ST micro is a time of flight range finder that - * uses pulsed IR light to determine distances from object at close - * range. The average range of a sensor is between 0-200mm - * - * Resources: - * This library uses the Arduino Wire.h to complete I2C transactions. - * - * Development environment specifics: - * IDE: Arduino 1.0.5 - * Hardware Platform: Arduino Pro 3.3V/8MHz - * VL6180x Breakout Version: 1.0 - * - * - * This code is beerware. If you see me (or any other SparkFun employee) at the - * local pub, and you've found our code helpful, please buy us a round! - * - * Distributed as-is; no warranty is given. - ******************************************************************************/ #include "mbed.h" +#include <stdlib.h> #include <VL6180x.h> +#include "stm32746g_discovery_lcd.h" +#include "stm32746g_discovery_ts.h" +#include "button_group.hpp" +#include <string> +#include "iut.h" -/*const float GAIN_1 = 1.01; // Actual ALS Gain of 1.01 -const float GAIN_1_25 = 1.28; // Actual ALS Gain of 1.28 -const float GAIN_1_67 = 1.72; // Actual ALS Gain of 1.72 -const float GAIN_2_5 = 2.6; // Actual ALS Gain of 2.60 -const float GAIN_5 = 5.21; // Actual ALS Gain of 5.21 -const float GAIN_10 = 10.32; // Actual ALS Gain of 10.32 -const float GAIN_20 = 20; // Actual ALS Gain of 20 -const float GAIN_40 = 40; // Actual ALS Gain of 40 -*/ - +//Adresse du capteur #define VL6180X_ADDRESS 0x29 +// Procéde à l'identification du capteur VL6180xIdentification identification; // mbed uses 8bit addresses shift address by 1 bit left VL6180x sensor(D14, D15, VL6180X_ADDRESS<<1); -void printIdentification(struct VL6180xIdentification *temp){ - printf("Model ID = "); - printf("%d\n",temp->idModel); +//Communication avec le pc par USB +Serial pc(USBTX, USBRX); - printf("Model Rev = "); - printf("%d",temp->idModelRevMajor); - printf("."); - printf("%d\n",temp->idModelRevMinor); +//Mikami : pour la gestion des boutons +using namespace Mikami; - printf("Module Rev = "); - printf("%d",temp->idModuleRevMajor); - printf("."); - printf("%d\n",temp->idModuleRevMinor); +TS_DISCO_F746NG ts_; +LCD_DISCO_F746NG lcd_; + - printf("Manufacture Date = "); - printf("%d",((temp->idDate >> 3) & 0x001F)); - printf("/"); - printf("%d",((temp->idDate >> 8) & 0x000F)); - printf("/1"); - printf("%d\n",((temp->idDate >> 12) & 0x000F)); - printf(" Phase: "); - printf("%d\n",(temp->idDate & 0x0007)); +//fonction printIdentification qui permet l'identification du capteur et l'affichage de ces caréctéristiques(modéle , version) +void printIdentification(struct VL6180xIdentification *temp) +{ + printf("\rModel ID = "); + printf("%d\n",temp->idModel); - printf("Manufacture Time (s)= "); - printf("%d\n",(temp->idTime * 2)); - printf("\n\n"); -} -int main() { + printf("\rModel Rev = "); + printf("%d",temp->idModelRevMajor); + printf("."); + printf("%d\n",temp->idModelRevMinor); - wait_ms(100); // delay .1s + printf("\rModule Rev = "); + printf("%d",temp->idModuleRevMajor); + printf("."); + printf("%d\n",temp->idModuleRevMinor); - sensor.getIdentification(&identification); // Retrieve manufacture info from device memory - printIdentification(&identification); // Helper function to print all the Module information - - if(sensor.VL6180xInit() != 0){ - printf("FAILED TO INITALIZE\n"); //Initialize device and check for errors - }; - - sensor.VL6180xDefautSettings(); //Load default settings to get started. - - wait_ms(1000); // delay 1s + printf("\rManufacture Date = "); + printf("%d",((temp->idDate >> 3) & 0x001F)); + printf("/"); + printf("%d",((temp->idDate >> 8) & 0x000F)); + printf("/1"); + printf("%d\n",((temp->idDate >> 12) & 0x000F)); + printf(" \rPhase: "); + printf("%d\n",(temp->idDate & 0x0007)); - - - while(1) { - //Get Ambient Light level and report in LUX - printf("Ambient Light Level (Lux) = "); - - //Input GAIN for light levels, - // GAIN_20 // Actual ALS Gain of 20 - // GAIN_10 // Actual ALS Gain of 10.32 - // GAIN_5 // Actual ALS Gain of 5.21 - // GAIN_2_5 // Actual ALS Gain of 2.60 - // GAIN_1_67 // Actual ALS Gain of 1.72 - // GAIN_1_25 // Actual ALS Gain of 1.28 - // GAIN_1 // Actual ALS Gain of 1.01 - // GAIN_40 // Actual ALS Gain of 40 - - printf("%f\n",sensor.getAmbientLight(GAIN_1) ); - - //Get Distance and report in mm - printf("Distance measured (mm) = "); - printf("%d\n", sensor.getDistance() ); - - wait_ms(500); + printf("\rManufacture Time (s)= "); + printf("%d\n",(temp->idTime * 2)); + printf("\n\n"); +} +//Logo iut +void drawImage_iut(int offsetX, int offsetY) +{ + int x = 0; + int y = 0; + uint32_t* dataPtr = (uint32_t*)iut.data; + while(y < iut.height) { + while(x < iut.width) { + BSP_LCD_DrawPixel(x + offsetX, y + offsetY, *dataPtr); + dataPtr++; + x++; + } + x = 0; + y++; } } +int main() +{ + + wait_ms(2000); + + pc.baud(115200);//Pour régler la vitesse + pc.printf("\r\nRUN\r\n");//envoie un message + + //unsigned int Button_reset = 0 ; + unsigned int valeur_capteur ; + char buffer [50] ; + + unsigned int valeur_min = 30 ; + unsigned int valeur_max = 150 ; + int etat = 0 ; //si etat = 0 alors rien ne se passe / si etat =1 alors c'est la valeur min / si etat = 2 alors c'est la valeur max + + + //Initialisation de l'ecran + BSP_LCD_Init(); + BSP_LCD_LayerDefaultInit(LTDC_ACTIVE_LAYER, LCD_FB_START_ADDRESS); + BSP_LCD_SelectLayer(LTDC_ACTIVE_LAYER); + + BSP_LCD_Clear(LCD_COLOR_BLUE); + BSP_LCD_SetBackColor(LCD_COLOR_BLUE); + BSP_LCD_SetTextColor(LCD_COLOR_WHITE); + BSP_LCD_SetFont(&Font16); + + //Affichage de chaines de caréctérs (message de bienvenue et mesure) + BSP_LCD_DisplayStringAt(35, 30, (uint8_t *)"BIENVENUE SUR UN CAPTEUR DE DISTANCE", CENTER_MODE); + BSP_LCD_DisplayStringAt(5, 90, (uint8_t *)"Mesure", CENTER_MODE); + + //affichage du logo de l'iut + drawImage_iut(0,0); + + //affichage des carectéristiques du capteur + sensor.getIdentification(&identification); + printIdentification(&identification); + + //test pour vérifier si le capteur a été bien initialisé + if(sensor.VL6180xInit() != 0) + { + printf("FAILED TO INITALIZE\n"); + }; + + sensor.VL6180xDefautSettings(); + + wait_ms(1000); // delay 1s + + + //Switch : bouton min , max + const string STR_SW[2] = {"MIN", "MAX"}; + BSP_LCD_SetFont(&Font20); + ButtonGroup sw(lcd_, ts_, 10, 160, 66, 40, + LCD_COLOR_DARKBLUE, LCD_COLOR_DARKBLUE, 2, STR_SW, 5, 0, 2); + while(1) { + //affichage de la lumiére ambiante en LUX + printf("\r\nAmbient Light Level (Lux) = "); + printf("%f",sensor.getAmbientLight(GAIN_1) ); + //Affichage de la distance en milimétres + printf("\r\nDistance measured (mm) = "); + printf("%d\n", sensor.getDistance() ); + //Stocker la distance dans la variable "valeur_capteur" + valeur_capteur = sensor.getDistance() ; + + //Conversion + sprintf(buffer, "%d", valeur_capteur); + + //paramétrage de l'écran et affichage de la distance + BSP_LCD_SetBackColor(LCD_COLOR_BLUE); + BSP_LCD_SetTextColor(LCD_COLOR_BLUE); + BSP_LCD_SetFont(&Font20); + BSP_LCD_DisplayStringAt(0, 120, (uint8_t *)255, CENTER_MODE); + + //condition pour tester si le switch "MIN" est appuyé + if (sw.Touched(0, LCD_COLOR_GREEN)) { + BSP_LCD_SetFont(&Font20); + BSP_LCD_DisplayStringAt(0, 210, (uint8_t *)"MIN = 30 ", CENTER_MODE); + etat = 1 ; // etat 1 = etat MIN + + } + + //condition pour tester si le switch "MAX" est appuyé + else if (sw.Touched(1, LCD_COLOR_RED)) { + BSP_LCD_SetFont(&Font20); + BSP_LCD_DisplayStringAt(0, 210, (uint8_t *)"MAX = 150 ", CENTER_MODE); + etat =2 ; // etat 2 = etat MAX + } + + + else { + // si etat=0 alors on affiche la mesure en continu + if(etat == 0) { + BSP_LCD_SetBackColor(LCD_COLOR_YELLOW); + BSP_LCD_SetTextColor(LCD_COLOR_BLACK); + BSP_LCD_SetFont(&Font20); + BSP_LCD_DisplayStringAt(0, 120, (uint8_t *)buffer, CENTER_MODE); + wait_ms(500); + + //sinon si etat=1 on teste alors si la valeur du capteur est supérieure ou égale à la valeur min + } else if (etat ==1) { + if(valeur_capteur >= valeur_min) { + BSP_LCD_SetBackColor(LCD_COLOR_GREEN); + BSP_LCD_SetTextColor(LCD_COLOR_WHITE); + BSP_LCD_SetFont(&Font20); + BSP_LCD_DisplayStringAt(0, 120, (uint8_t *)buffer, CENTER_MODE); + } else { + BSP_LCD_SetBackColor(LCD_COLOR_RED); + BSP_LCD_SetTextColor(LCD_COLOR_WHITE); + BSP_LCD_SetFont(&Font20); + BSP_LCD_DisplayStringAt(0, 120, (uint8_t *)buffer, CENTER_MODE); + } + //sinon si la valeur=2 n teste alors si la valeur du capteur est inférieure à la valeur max + } else if(etat == 2) { + if(valeur_capteur <= valeur_max) { + BSP_LCD_SetBackColor(LCD_COLOR_GREEN); + BSP_LCD_SetTextColor(LCD_COLOR_WHITE); + BSP_LCD_SetFont(&Font20); + BSP_LCD_DisplayStringAt(0, 120, (uint8_t *)buffer, CENTER_MODE); + + } else { + BSP_LCD_SetBackColor(LCD_COLOR_RED); + BSP_LCD_SetTextColor(LCD_COLOR_WHITE); + BSP_LCD_SetFont(&Font20); + BSP_LCD_DisplayStringAt(0, 120, (uint8_t *)buffer, CENTER_MODE); + } + } + } + } +}
--- a/mbed.bld Sun May 10 19:10:32 2015 +0000 +++ b/mbed.bld Fri Jun 26 01:58:28 2020 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/8ab26030e058 \ No newline at end of file +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file