Go Down

Topic: Adafruit Trinket M0 volume knob no delay.h (Read 100 times) previous topic - next topic

Antoonio

Hello

Getting error on Trinket M0 when compiling example sketch for USB volume knob from TrinketHIDCombo library

TrinketHidCombo.cpp:29:24: fatal error: util/delay.h: No such file or directory

Win7

Programmer: USBTinyISP

I can get Basic examples to work like Blinky etc.

A possible solution is to copy delay.h into a proper folder, but cannot find where

spycatcher2k

Quote
Adafruit Trinket M0
So not an Arduino board then!

You did read, undend follow the instructions from Adafruit?
Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

Antoonio

So not an Arduino board then!

You did read, undend follow the instructions from Adafruit?
I did and everything seems to be installed correctly. I can get it to load, communicate and serial monitor just fine, but its spits out the error when compiling this specific code.


spycatcher2k

Cool - but it's not an Arduino issue! This is NOT the Adafruit support forum!
Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

pert

The TrinketHIDCombo library is written for use with the Adafruit Gemma or Trinket. Although the Trinket M0 has a similar name to the Trinket, it is a very different board and is not compatible with that library.

ChrisTenone

Cool - but it's not an Arduino issue! This is NOT the Adafruit support forum!
Arduino is also a Integrated Development Environment made by the Arduino company. That software is supported here. The OP seems to be having a problem using the programming environment, namely Arduino.

OP,she's right though. There is also an Adafruit support forum, Unlike this forum, questions there are answered quickly by employees of the sponsoring company. Opinions and conversation is kept to a minimum there, which is both good and bad.
What, I need to say something else too?

spycatcher2k

Quote
The TrinketHIDCombo library is written for use with the Adafruit Gemma or Trinket. Although the Trinket M0 has a similar name to the Trinket, it is a very different board and is not compatible with that library.
All covered over at Adafruit! Took me 20 Seconds to find out that information, but OP is unable to find it? even when told to read , understand and follow Adafruits extensive and comprehensive tutorials and resources.
Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

Go Up