Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Adafruit Feather MO LoRa Radio
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Adafruit Feather MO LoRa Radio

by gaishaul on Wed Jul 19, 2017 2:30 am

Hello

I'm trying to integrate the library Adafruit_SH1106 with Feather MO and I get error.

The Adafruit_SH1106 library encountered an unknown path resolve error.C*: 31:24: fatal error: util/delay.h: No such file or directory
#include <util/delay.h>

I searched the net a bit and it turned out that #include <util/delay.h> is avr and not suitable to ATSAMD21G18 ARM Cortex M0.
I tried to change/append the library SH1106 cpp file to:

#ifdef __arm__
#define _delay_ms(ms) delayMicroseconds((ms) * 1000)
#endif

Without success, can I get help?

Thanks
eli

gaishaul
 
Posts: 46
Joined: Mon Oct 03, 2016 3:11 am

Re: Adafruit Feather MO LoRa Radio

by franklin97355 on Sat Jul 22, 2017 12:53 pm

Check out your other post on this.

franklin97355
 
Posts: 21582
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Please be positive and constructive with your questions and comments.


cron