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.
Homepage
A library to communicate with the AD5933 or AD5934 impedance meter chip.
http://www.analog.com/en/products/rf-microwave/direct-digital-synthesis-modulators/ad5933.html
Example code¶
main.cpp
#include "mbed.h" #include "ad5933.h" AD5933 Zmeter(p28, p27, false); int main() { float temp = Zmeter.getTemperature(); Zmeter.initFrequencySweepParam(100000, 10, 2, 50, true, 1); while(true) { if(!Zmeter.Measure(true)) printf("error occured"); int real = Zmeter.real; int imag = Zmeter.imaginary; wait(1); } }