From c29e6312fe2e6ea340052fd4c28b4d4a4caacd41 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 13 Aug 2014 18:30:42 +0800 Subject: [PATCH] examples/dds_test: use GHz --- examples/dds_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/dds_test.py b/examples/dds_test.py index ad8d0a8b6..966a2663b 100644 --- a/examples/dds_test.py +++ b/examples/dds_test.py @@ -28,10 +28,10 @@ if __name__ == "__main__": coredev = core.Core(com) exp = DDSTest( core=coredev, - a=dds_core.DDS(core=coredev, dds_sysclk=1000*MHz, reg_channel=0, rtio_channel=0), - b=dds_core.DDS(core=coredev, dds_sysclk=1000*MHz, reg_channel=1, rtio_channel=1), - c=dds_core.DDS(core=coredev, dds_sysclk=1000*MHz, reg_channel=2, rtio_channel=2), - d=dds_core.DDS(core=coredev, dds_sysclk=1000*MHz, reg_channel=3, rtio_channel=3), + a=dds_core.DDS(core=coredev, dds_sysclk=1*GHz, reg_channel=0, rtio_channel=0), + b=dds_core.DDS(core=coredev, dds_sysclk=1*GHz, reg_channel=1, rtio_channel=1), + c=dds_core.DDS(core=coredev, dds_sysclk=1*GHz, reg_channel=2, rtio_channel=2), + d=dds_core.DDS(core=coredev, dds_sysclk=1*GHz, reg_channel=3, rtio_channel=3), led=gpio_core.GPIOOut(core=coredev, channel=1) ) exp.run()