roseengineering / RasPi-Si5351.py

Python library for setting the frequency of a Si5351 off the Raspberry Pi's I2C bus. (This is Adafruit's si5351 library modified to support the Pi)
MIT License
12 stars 10 forks source link

How To for dummies... #2

Open 0W1audio opened 5 years ago

0W1audio commented 5 years ago

Hello,

I'm trying to install Si5351 on Pi

It is detected ok with i2cdetect -y 1 Howerver I have absolutely no clue on how to use it... sorry !

I did : git clone https://github.com/roseengineering/RasPi-Si5351.py.git python RasPi-Si5351.py python3 RasPi-Si5351.py got each time :"/usr/bin/python: can't find 'main' module in 'RasPi-Si5351.py'"

Then, as root, I tried apt-get install python3-pip pip3 install --upgrade setuptools pip3 install RPI.GPIO pip3 install adafruit-blinka python3 blinkatest.py I got "Hello blinka! Digital IO ok! I2C ok! SPI ok! done!"

I also installed pip with: easy_install pip and : pip install circuitpython-build-tools pip3 install adafruit-circuitpython-si5351

I then tried again python3 RasPi-Si5351.py same result

And pip3 install si5351_simpletest.py _Collecting si5351_simpletest.py Could not find a version that satisfies the requirement si5351_simpletest.py (from versions: ) No matching distribution found for si5351simpletest.py root@0W1-D5:~# pip3 install RasPi-Si5351.py Collecting RasPi-Si5351.py Could not find a version that satisfies the requirement RasPi-Si5351.py (from versions: ) No matching distribution found for RasPi-Si5351.py

????? Thank you for your help Jean

0W1audio commented 5 years ago

Ok I succeeded to use the clock with the Adafruit script python3 si5351_simpletest.py

but not with yours ????

Jean