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.
main.cpp
00001 /* Copyright (c) 2016 Aconno. All Rights Reserved. 00002 * 00003 * Licensees are granted free, non-transferable use of the information. NO 00004 * WARRANTY of ANY KIND is provided. This heading must NOT be removed from 00005 * the file. 00006 * 00007 */ 00008 00009 #include "mbed.h" 00010 #include "GDEP015OC1.h" 00011 #include "pictures.h" 00012 00013 SPI spi(p3, NC, p4); 00014 GDEP015OC1 epd = GDEP015OC1(spi, p5, p6, p7, p8); 00015 00016 int main(){ 00017 epd.empty(); 00018 epd.writeFull(); 00019 while(true){ 00020 for(uint16_t x=0;x<5000;x++) 00021 epd.fill(ir0[x], x); 00022 epd.write(); 00023 wait_ms(500); 00024 for(uint16_t x=0;x<5000;x++) 00025 epd.fill(ir1[x], x); 00026 epd.write(); 00027 wait_ms(500); 00028 } 00029 }
Generated on Wed Jul 13 2022 16:54:54 by
1.7.2