Olimex Support Forum

Others => UEXT => Topic started by: enagel on July 20, 2023, 12:09:18 AM

Title: Using UEXT from BBC basic on AgonLight2
Post by: enagel on July 20, 2023, 12:09:18 AM
I'm hoping to use the nunchuck controller connected to the Agon Light via UEXT. Is there any documentation / tutorial or Z80 or Basic example code on how to communicate through the UEXT connected device(s) on an AgonLight 2?

Specifically, where can I find how to set the specific registers on the I2C controller?
Title: Re: Using UEXT from BBC basic on AgonLight2
Post by: olimex on July 20, 2023, 12:18:47 AM
all is explained in the ez80 datasheet
http://www.zilog.com/docs/ez80acclaim/ps0153.pdf
page 141
Title: Re: Using UEXT from BBC basic on AgonLight2
Post by: LubOlimex on July 20, 2023, 10:08:04 AM
Also make sure to check what I2C progress other users from the facebook group made:

https://www.facebook.com/groups/970092390358810/search/?q=i2c
Title: Re: Using UEXT from BBC basic on AgonLight2
Post by: enagel on July 21, 2023, 10:22:55 AM
Thank you for the pointers to more information. That will allow me to go start experimenting. After I get it somewhat working my medium term goal is to use the nunchuck in a bitmap painting program :-)