Now that I have read the manual it is about how to compile the serial library. But how to port for example the servo library? Are there any alterations to the source needed to be compliant with the Neo, or is it just compiling the c source on the Neo doing the trick? I am new to this so just wondering. I have the feeling it is not that simple but perhaps I am thinking too much.[emoji2]
@AndreaRovai So Softserial is added to the list. Is there an update on the total planned list and time planning?
@waltervl @Andrea Rovai none of the links you posted work, is it just me? http://www.udoo.org/docs-neo/Arduino_M4_Processor/UDOO_Serial_Libraries_And_How_To_Port_Them.html http://www.udoo.org/docs-neo/Arduin...EO_Serial_Libraries_And_How_To_Port_Them.html
These are all outdated information and are now replaced by a new chapter Serial Libraries which has nothing to do with Arduino libraries (neither did the original) http://www.udoo.org/docs-neo/Serial_Libraries/index.html
By the way, there is now a page about porting libraries with the basic instructions: http://www.udoo.org/docs-neo/Arduino_M4_Processor/Porting_Libraries.html
That's very useful documentation. It would be even better if it stated or pointed at the reasons why particular operations (which exactly, just pinMode()/digitalWrite() or others as well?) aren't working. Could you provide some insight? I'm curious if there's a possible solution that doesn't require porting lots of external libraries and allows the majority to be used unmodified.
I wanted use Grov- Air Quality Sensor V1.3 with udoo neo , but cannot use example from their site ant github. Error (ISR (TIMER2_OVF_vect ). Why? Thanks.
The isr is calling a specific avr timer function which probably is not supported by the M4 CPU the Neo is using. You have to find another way. For more background information over the avr look here https://arduinodiy.wordpress.com/2012/02/28/timer-interrupts/
Neopixels - The Neo is particularly suited to solving problems for Neopixels. Because the Neopixel code is bitbanging the data out, with other boards it is hard to talk to the ARM that is controlling the lights from "the real world" such as a web page. With the shared memory, it should be easy to poke values in from the web side and let the M0 read them as its convenience. I bought the Neo specifically for this use and was hoping to sell a few.
Hey Everybody! I'm new here, and globally new to Arduino, but i know how to mess with a computer and a soldering iron (separately) I'm wondering if an Adafruit-Motor-Shield-library port would be possible, or maybe someone more experienced could show me how to do it myself. I've come across some "tips" on porting around here, but unfortunately they're out of range for me. Thanks in advance!
First be sure your shield is compatible with the Neo as the Neo is 3.3V. will your shield accept that ( I doubt that if you have version V1)? V2 should work but is controlled by I2C instead of pwm pins so completely different library.
Does AccellStepper Library work with the M4? Using digital pins to control step, direction, resolution etc sent to a driver IC?
You would need to fix up the library to use a hw timer on the M4 side to get an accurate step interval.