Beginner Looking for Sample Code

5 posts / 0 new
Last post
saleem145
Offline
Last seen:5 years 8 months ago
Joined:2015-03-19 00:49
Beginner Looking for Sample Code

Hello,

I want to be able to control some GPIO pins on my dev board using an iPhone and / or Android phone. When the user clicks a button on the app, the GPIO should go high. Where can I find some sample code to look at --

1. Ideally it would have code that runs on DA14580.
2. Some sample that runs on iPhone or Android.

But the second is not required. As long as I have code that runs on DA14580 and a way to test it that would be great!

Thanks,

Saleem

Device:
JE_Dialog
Offline
Last seen:10 hours 39 min ago
Staff
Joined:2013-12-05 14:02
Hello Saleem, we have nothing

Hello Saleem, we have nothing 'off the shelf' on the phone side... the only thing from DA14580 we could suggest is to build a simple custom profile for DA14580 (see AN-B-029) . The only examples we have for the iPhone/Android side are quite more complex fully featured apps. BR JE_Dialog.

Jasonhongpro
Offline
Last seen:4 years 8 months ago
Joined:2015-07-19 12:45
Hello ~I would like to have a

Hello ~I would like to have a sample code for the app you mentioned, where can i find it? is it for ios?

MT_dialog
Offline
Last seen:1 week 14 hours ago
Staff
Joined:2015-06-08 11:34
Hi Jasonhongpro

Hi Jasonhongpro

You can find the tutorial here,

http://support.dialog-semiconductor.com/resource/b-029-tutorial-developi...

also you can find some supporting material here:

http://support.dialog-semiconductor.com/resource/b-029-tutorial-files-su...

Thanks MT_dialog

JE_Dialog
Offline
Last seen:10 hours 39 min ago
Staff
Joined:2013-12-05 14:02
Hi there, if you look in the

Hi there, if you look in the application notes for AN-B-029 you will find the tutorial and a zip file . BR JE_Dialog