Git Product home page Git Product logo

micropython-calliope-mini's People

Contributors

alanmjackson avatar c-mart avatar c0d3st0rm avatar carlosperate avatar cloudberrydotdev avatar deshipu avatar doismellburning avatar dpgeorge avatar isioviel avatar jaustin avatar jreast avatar knowledgejunkie avatar komep avatar markshannon avatar mathisgerdes avatar matthewelse avatar microbit-carlos avatar microbit-mark avatar microbit-rosslowe avatar microbit-sam avatar moreati avatar mpbagot avatar ncoghlan avatar ntoll avatar rhubarbdog avatar scottdwebster avatar tcervo avatar tomviner avatar willingc avatar zitterbewegung avatar

micropython-calliope-mini's Issues

speaker test

in branch "minidal" the speaker can be used by the following commands:

pin_M_SLEEP.write_digital(1)
pin_M_IN2.write_digital(1)
pin_M_IN1.write_analog(300)

using pin_M_IN1.set_analog_period_microseconds(10000) the frequency can be adjusted

missing eCompass driver

The eCompass driver is not implemented in the minidal branch, so all functions regarding gyroscope or magnetometer cannot be used currently. The eCompass is interfaced via the same I2C port as P18, P19 on the edge connector.

RGB led test

The RGB led can be testet with the following code:

import neopixel
np=neopixel.NeoPixel(pin_RGB, 1)
np[0] = (0, 10, 10)
np.show() 

setting I2C pins leads to unworking hex file

In the branch minidal setting the I2C pins according to the calliope mini pinout [1.X-2.X] results in a hex file that does not run the REPL terminal.
From line 179 of yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/PinNames.h the updated code would be:

    //SDA (SERIAL DATA LINE)
    I2C_SDA0 = p20,

    //SCL (SERIAL CLOCK LINE)
    I2C_SCL0 = p19

The hex file can be compiled, but the REPL console does not react.
The target reset pin of the microbit happens to be at p19 but also uncommenting the following line does not resolve the issue.

    //TARGET RESET
    TGT_NRESET = p19,

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.