Giter Club home page Giter Club logo

bean-arduino-core's Introduction

LightBlue Bean Arduino Core

This repo contains the Arduino firmware and installation files used in the LightBlue Bean project. The firmware files are based off of the Arduino firmware release version 1.0.5 and have been modified to work on the LightBlue Bean. Bean has components that include a BLE radio, an accelerometer, and a multicolor LED.

Documentation:

bean-arduino-core's People

Contributors

aftermathew avatar ckellerpunchthrough avatar gwalker1228 avatar heidtn avatar karelkalthoff avatar kkarami avatar mikewaddick avatar mjbrown avatar mplewis avatar raykamp avatar simsalapim avatar yenthe666 avatar zdrewptd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bean-arduino-core's Issues

MIDI profile examples missing call to BeanMidi.enable()

BeanMidi.enable() must be called to add the BLE MIDI service to the bean's advertisements, but neither of the two BeanMidi examples call it:

https://github.com/PunchThrough/bean-arduino-core/blob/master/examples/profiles/MIDI.ino
https://punchthrough.com/bean/docs/guides/features/midi/

The bean's MIDI service needs to be advertised in order for it to appear in the list of available BLE MIDI devices presented to the user by iOS and Android apps.

Suggested fix: Call BeanMidi.enable() in the examples' setup function.

Fix println code

Println() functions send two messages from the Arduino to the CC, one for the message and one for the newline. This should be fixed.

Arduino doesn't have permission to write to ~/.beansketches/bean/

After installing Bean CLI, I'm wondering why I get this error when pressing Upload button in Arduino.

Arduino: 1.6.12 (Mac OS X), TD: 1.36, Board: "LightBlue Bean (2.0.3)"

Sketch uses 5,822 bytes (18%) of program storage space. Maximum is 32,256 bytes.
Global variables use 670 bytes of dynamic memory.
Traceback (most recent call last):
  File "/Applications/Arduino.app/Contents/Java/hardware/tools/bean/post_compile", line 94, in <module>
    copy_hex(parsed_args)
  File "/Applications/Arduino.app/Contents/Java/hardware/tools/bean/post_compile", line 89, in copy_hex
    shutil.copyfile(tmp_compiled_path, perm_compiled_path)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/Users/jc/.beansketches/bean/lightblue-bean-test-2-photores.hex'
IOError: [Errno 13] Permission denied: '/Users/jc/.beansketches/bean/lightblue-bean-test-2-photores.hex'

Is there a way to increase permissions of these scripts triggered from inside Arduino app so they can write the files?

Build broken

Even simple Blink example fails with this error:

In file included from /data2/arduino-1.6.12/hardware/LightBlue-Bean/avr/cores/bean/Arduino.h:193:0,
                 from /tmp/arduino_build_41733/sketch/Blink.ino.cpp:1:
/data2/arduino-1.6.12/hardware/LightBlue-Bean/avr/cores/bean/HardwareSerial.h:30:51: fatal error: applicationMessageHeaders/AppMessages.h: No such file or directory
 #include "applicationMessageHeaders/AppMessages.h"

Arduino-1.6.12
Ubuntu 16.10 (Yakkety Yak)
bean --version: 0.6.0

looks like applicationMessageHeaders is missing in the package.

Neglected TODOs in Bean.cpp

See Bean.cpp lines:

  • 579
  • 591
  • 603

These TODOs were added in April 2014 and have not been touched since. Is it time to remove them?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.