D21G libraries

Hi,

Has the libraries been updated for the D21G topboard yet? I've installed the UC1701 and Indio library through the Arduino IDE library manager as written in https://industruino.com/shop/product/d21g-topboard-72 but I'm getting errors when trying to compile for the D21G board. 

"Warning: library Indio claims to run on [avr] architecture(s) and may be incompatible with your current board which runs on [samd] architecture(s)"

"Indio.cpp:287:26: error: 'TWBR' was not declared in this scope

uint8_t twbrback = TWBR;"

Rune Poulsen
Rune Poulsen
7
| 3 1 2
Asked on 4/20/17, 10:49 AM
0
vote
2950 Views

Dear Rune,

Did you download the libraries from our Github? I've updated all libraries to work with the D21G:

https://github.com/Industruino/Indio

https://github.com/Industruino/UC1701

https://github.com/Industruino/Ethernet2

I still have a few links on the website referring to zip packages of the older libraries. I will clean it up right away and make sure everything refers to github.

Cheers,

Loic

 

Loic De Buck
Loic De Buck
1263
| 3 1 3
Answered on 4/20/17, 2:31 PM
1
vote

Thanks, its working now. I've had some confusion with my libraries, I thought my libraries were located in Program Files (x86) / Arduino / libraries, but apparently this time an older version (installed through the Arduino Library Manager) was located under Documents / Arduino / Library, and this one was still the one being used. It worked after removing this and adding the github version through add zip file library in arduino.

Rune Poulsen
on 4/20/17, 3:31 PM

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This community is for professionals and enthusiasts of our products and services.

Read Guidelines

Question tools

34 follower(s)

Stats

Asked: 4/20/17, 10:49 AM
Seen: 2950 times
Last updated: 4/20/17, 2:31 PM