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.
Dependents: 1_P-7100 4_EEPROM_baro_press 0_twe_Tmode 4_sensor-Integration-function2
P7100.h
00001 #ifndef MBED_P7100_H 00002 #define MBED_P7100_H 00003 00004 #include "mbed.h" 00005 00006 class P7100 00007 { 00008 public: 00009 P7100(PinName mosi, PinName miso, PinName sclk, PinName pin); //spi,csのピン定義 00010 ~P7100(); 00011 00012 float v_read(); //電圧を読む関数 00013 00014 private: 00015 SPI spi; 00016 DigitalOut cs; 00017 }; 00018 00019 #endif
Generated on Wed Aug 3 2022 22:05:14 by
1.7.2