[riot-users] How to use gpio (Arduino Uno)

Nazmul Alam fadedreamz at gmail.com
Tue Jul 5 09:18:19 CEST 2016


Hello Peter,
I will do so as soon as possible.

Regards,
On Jul 5, 2016 2:58 AM, "Peter Kietzmann" <peter.kietzmann at haw-hamburg.de>
wrote:

> Hi,
>
> you're welcome! Would you report the status of your GPIO testing on the
> aruino-uno in https://github.com/RIOT-OS/RIOT/pull/5451 please? The
> driver is WIP and it would be nice for @mali to get some feedback.
>
> Best
> Peter
>
> Am 04.07.2016 um 23:37 schrieb Nazmul Alam:
>
>> Hello Peter,
>> Thank you for reply.
>> Yes I am using that pull request.
>> And by native programming I meant using the function provided by the OS
>> to program GPIO instead relying on arduino library. Sorry for my bad
>> wording. And thanks for the link, I will definitely check out them.
>>
>> Regards,
>>
>> On Jul 4, 2016 5:58 AM, "Peter Kietzmann"
>> <peter.kietzmann at haw-hamburg.de <mailto:peter.kietzmann at haw-hamburg.de>>
>> wrote:
>>
>>     Hi Shovon,
>>
>>     first of all: welcome to the RIOT community! The arduino-uno support
>>     in RIOT is WIP [1] and currently not part of the RIOT master. Did
>>     you use that pull request?
>>
>>     What do you mean by the "native program"? "native" in RIOT is a
>>     hardware emulation running in a linux process on your PC and it has
>>     no real GPIOs. Basically every program can be built for the native
>>     board but I'm not aware of any "native program".
>>
>>     [2] demonstrates how to use GPIOs. It comes with a small shell and
>>     allows to initialize, set and read pins during runtime.
>>
>>     Best regards
>>     Peter
>>
>>
>>     [1] https://github.com/RIOT-OS/RIOT/pull/5451
>>     [2] https://github.com/RIOT-OS/RIOT/tree/master/tests/periph_gpio
>>
>>
>>     Am 03.07.2016 um 20:08 schrieb Nazmul Alam:
>>
>>         Hello,
>>         I am new to riot-os and was trying to run a native application
>> which
>>         toggles a led on pin 13 (arduino-uno), I was able to use arduino
>>         sketch
>>         but it seems it is not working properly. So I though I will give
>>         native
>>         program a try.
>>
>>         But I am not sure how to initialize gpio and use it (e,g
>>         USEMODULE?) so
>>         is there any sample on how to use the gpio in riot-os?
>>
>>         Thanks in advance,
>>         Shovon.
>>
>>
>>
>>         _______________________________________________
>>         users mailing list
>>         users at riot-os.org <mailto:users at riot-os.org>
>>         https://lists.riot-os.org/mailman/listinfo/users
>>
>>
>>     --
>>     Peter Kietzmann
>>
>>     Hamburg University of Applied Sciences
>>     Dept. Informatik, Internet Technologies Group
>>     Berliner Tor 7, 20099 Hamburg, Germany
>>     Fon: +49-40-42875-8426 <tel:%2B49-40-42875-8426>
>>     Web: http://www.haw-hamburg.de/inet
>>     _______________________________________________
>>     users mailing list
>>     users at riot-os.org <mailto:users at riot-os.org>
>>     https://lists.riot-os.org/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users at riot-os.org
>> https://lists.riot-os.org/mailman/listinfo/users
>>
>>
> --
> Peter Kietzmann
>
> Hamburg University of Applied Sciences
> Dept. Informatik, Internet Technologies Group
> Berliner Tor 7, 20099 Hamburg, Germany
> Fon: +49-40-42875-8426
> Web: http://www.haw-hamburg.de/inet
> _______________________________________________
> users mailing list
> users at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20160705/40b6d6c7/attachment.html>


More information about the users mailing list