Open mikebrandt opened 2 years ago
Thank you for your feedback. I actually provided the Mega Client, but I haven't gotten a chance to verify my code with a device. So, there would be some bugs.
Regarding the MegaDataClient, I think the comment was wrong. Maybe I copied it from another port, and just forgot to modify the comment. Let me have a fix.
Can you try the latest version? Now the comment was fixed. We use D0/D1 (== PE0/PE1 or RX0/TX0) for Data+/Data-. Also, I notice that P2 button 5 and 6 were mistakenly assigned to non-existing GPIO pins. So, I changed it to use D2 and D3.
Please let me know if something is still wrong. Thanks!
Hi, just tried it with last version , wired data + on D0 and data - on D1 (sense still on D9). No input is sent to the mobo (TTX3) while it works great with nano version. Are you sure about register adress on Mega Client? those values shouldn't be different between nano and Mega . From what i understand, it should be 0x0b according to documentation. Best regards, Mike
hum... here, D0 mean Digital 0, and actual port is PE0, Port E bit 0. So address 0x0e should be correct. let me check again.
Hi, i think you're right: so problem must be elsewhere, i'll try to serial debug it to see what's going on.
Hi, tried to make iona work for Mega 2560 and i think there's a missconfiguration on MegaClient: // Data+: 2 PD2 ( RXDI/INT2 ) // Data-: 3 PD3 ( TXD1/INT3 ) using MegaDataClient = BaseDataClient<0, 1, 0, 1, 0x0e, 0x0e>;
In that setting , Data + seems to be assigned to PD0 and Data - to PD1. Am I reading it wrong?
Best regards, Mike