I2C and WiiChuck libraries.


Recommended Posts

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/WiiChuck

https://github.com/GadgetFactory/DesignLab_Examples/tree/master/libraries/i2c

https://github.com/GadgetFactory/DesignLab_Examples/tree/master/libraries/WiiChuck

https://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.

Link to comment
Share on other sites

  • 2 months later...

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. :(

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.