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 #include "mbed.h" 00002 #include "at45db161d.h" 00003 00004 DigitalOut myled(LED1); 00005 ATD45DB161D Flash(P0_8,P0_9,P0_6,P1_15); // PinName mosi, PinName miso, PinName sclk, PinName cs 00006 00007 int main() { 00008 Flash.Init(); 00009 Flash.ChipErase(); 00010 Flash.DeepPowerDown(); 00011 wait(5); 00012 Flash.ResumeFromDeepPowerDown(); 00013 00014 00015 while (1) 00016 { 00017 00018 } 00019 }
Generated on Thu Jul 14 2022 06:26:23 by
1.7.2