Author Topic: DigiMouse error  (Read 2943 times)

DullJellyfish

  • Newbie
  • *
  • Posts: 2
DigiMouse error
« on: February 03, 2016, 10:26:53 am »
Hi,

I wanted to try out the DigiMouse example, but when I try to compile I get an error.
I'm using Arduino IDE 1.6.7 on Lubuntu.

This is the error I get:

In file included from /root/.arduino15/packages/digistump/hardware/avr/1.6.5/libraries/DigisparkMouse/DigiMouse.h:21:0,
                 from /tmp/arduino_e1c05850070717e4073e2762e78b5e33/Click_mouse.ino:1:
/home/dulljellyfish/Downloads/arduino-1.6.7/hardware/tools/avr/avr/include/avr/sleep.h:634:6: error: #error "No SLEEP mode defined for this device."
     #error "No SLEEP mode defined for this device."
      ^
exit status 1
Error compiling.

Does someone know how to fix this?

Thanks,
DJ

DeuxVis

  • Full Member
  • ***
  • Posts: 107
Re: DigiMouse error
« Reply #1 on: February 04, 2016, 02:27:12 am »
I fail to understand if this is a bug in the last arduino releases or if the digistump boards definitions needs updating, but for now I'd suggest to downgrade to arduino IDE 1.6.5 as mentioned there : http://digistump.com/board/index.php/topic,1898.msg8534.html#msg8534