Jack Gassett Posted April 9, 2015 Report Share Posted April 9, 2015 I've allocated today and tomorrow to work on fun stuff and so I am seeing how many libraries I can get up and running in DesignLab. The first that I've worked on is Alvie's I2C wishbone "chip" and WiiChuck support. I have this working on a Papilio DUO and have checked in the libraries here: https://github.com/GadgetFactory/DesignLab_Examples/tree/master/WiiChuckhttps://github.com/GadgetFactory/DesignLab_Examples/tree/master/libraries/i2chttps://github.com/GadgetFactory/DesignLab_Examples/tree/master/libraries/WiiChuckhttps://github.com/GadgetFactory/DesignLab_Examples/blob/master/libraries/ZPUino_Wishbone_Peripherals/COMM_zpuino_wb_I2C.vhd I still need to clean them up and get them ready for release in DesignLab 1.0.6. Up next is Alvie's RGB Panel and a Robot Control library. Jack. Quote Link to comment Share on other sites More sharing options...
Filip Posted April 10, 2015 Report Share Posted April 10, 2015 Cool, thanks for the libraries Quote Link to comment Share on other sites More sharing options...
andyfive Posted June 11, 2015 Report Share Posted June 11, 2015 Is there example code available yet for the use of the I2C? I have been trying unsuccessfully to get I2C working on the papilio pro. Ultimately, I went in another direction for my project, and since then both my papilio pro and papilio one have been sitting unused. I really need working I2C, otherwise I have two expensive paper weights. Quote Link to comment Share on other sites More sharing options...
Filip Posted June 12, 2015 Report Share Posted June 12, 2015 Hallo Andy, as per http://forum.gadgetfactory.net/index.php?/topic/2328-designlab-106-released/?p=16161 the library is ready and in DesignLab 1.0.6 and above. the example is the WiiChuck, which is a library so - https://github.com/GadgetFactory/DesignLab_Examples/blob/master/libraries/WiiChuck/WiiChuck.cpp or in the Designlab library folder on you computer. Filip. Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted June 12, 2015 Author Report Share Posted June 12, 2015 Hello Andy, Yes, there are I2C examples available now, please let me know if you have any questions or difficulties. Please note that due to the Open Drain nature of I2C I was not able to make a Wing for I2C usage. You will need to connect the I/O markers directly in DesignLab. Jack. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.