This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Set GPIO over Button click

I`m a newbie at Bluetooth Low Energy and Nordic Chips. I bought a DK for the nRF51822. I would like to set I/O pins over android and iOS application. 1.So what application is the best to start with? 2.Or is there already an app which light up a led or something with a button click? 3.What code I need to load on the nRF51822? 4.If I need to write my own Service, how should i do that in function with setting GPIO?

Parents
  • there is a good example code just for that with iOS on this blog site http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html

    The Blinky_be example on this blog allows you to control all 30 i/o pin. The iOS App configure the pin direction (IN or OUT). The iOS App can turn On or Off each i/o pin are all 30 at once. It make use of 2 characteristics. One for configuration, the other for data.

    Other examples showing control of LED matrix multi-display where you can type a text on iOS and send it to the Matrix displays. This examples make use of long characteristic write where you can send more than 20 bytes of data.

    A UART examples with long write. UART data in/out using one characteristic. iOS App serving as dump terminal.

    All examples are updated with SDK6 and SD7 and all projects were created from scratch using Eclipse IDE based project.

Reply
  • there is a good example code just for that with iOS on this blog site http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html

    The Blinky_be example on this blog allows you to control all 30 i/o pin. The iOS App configure the pin direction (IN or OUT). The iOS App can turn On or Off each i/o pin are all 30 at once. It make use of 2 characteristics. One for configuration, the other for data.

    Other examples showing control of LED matrix multi-display where you can type a text on iOS and send it to the Matrix displays. This examples make use of long characteristic write where you can send more than 20 bytes of data.

    A UART examples with long write. UART data in/out using one characteristic. iOS App serving as dump terminal.

    All examples are updated with SDK6 and SD7 and all projects were created from scratch using Eclipse IDE based project.

Children
No Data
Related