Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Issue 1684433003: Add a small LED interface and demo app. (Closed)

Created:
4 years, 10 months ago by herhut
Modified:
4 years, 4 months ago
Base URL:
git@github.com:domokit/sod.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add a small LED interface and demo app. BUG=

Patch Set 1 #

Total comments: 16

Patch Set 2 : Make callback a class. #

Patch Set 3 : comments #

Patch Set 4 : added comment #

Total comments: 1

Patch Set 5 : whitespace edit #

Patch Set 6 : fix exports for qemu target #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -0 lines) Patch
A app/dartino/leds.c View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
M app/dartino/main.c View 1 2 3 4 5 3 chunks +8 lines, -0 lines 0 comments Download
M app/dartino/rules.mk View 1 chunk +1 line, -0 lines 0 comments Download
A dart/examples/led/led.dart View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A dart/pkg/lk/lib/leds.dart View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
ricow1
https://codereview.chromium.org/1684433003/diff/1/dart/examples/led/led.dart File dart/examples/led/led.dart (right): https://codereview.chromium.org/1684433003/diff/1/dart/examples/led/led.dart#newcode9 dart/examples/led/led.dart:9: int count = 0; remove unused variable
4 years, 10 months ago (2016-02-09 09:06:08 UTC) #2
Søren Gjesse
I just landed a new GPIO API for the "non lk" part, https://github.com/dartino/sdk/commit/36139cdc5e55fc00fe7925fee49f00b5e609c04b. Maybe we ...
4 years, 10 months ago (2016-02-09 09:16:01 UTC) #4
lukechurch
https://codereview.chromium.org/1684433003/diff/1/dart/examples/led/led.dart File dart/examples/led/led.dart (right): https://codereview.chromium.org/1684433003/diff/1/dart/examples/led/led.dart#newcode31 dart/examples/led/led.dart:31: } Consider adding an explanatory comment as to why ...
4 years, 10 months ago (2016-02-09 09:20:01 UTC) #6
herhut
PTAL https://codereview.chromium.org/1684433003/diff/1/app/dartino/leds.c File app/dartino/leds.c (right): https://codereview.chromium.org/1684433003/diff/1/app/dartino/leds.c#newcode33 app/dartino/leds.c:33: #else On 2016/02/09 09:16:01, Søren Gjesse wrote: > ...
4 years, 10 months ago (2016-02-09 10:10:15 UTC) #7
lukechurch
Thanks! LGTM https://codereview.chromium.org/1684433003/diff/1/dart/pkg/lk/lib/leds.dart File dart/pkg/lk/lib/leds.dart (right): https://codereview.chromium.org/1684433003/diff/1/dart/pkg/lk/lib/leds.dart#newcode12 dart/pkg/lk/lib/leds.dart:12: const LED._internal(this._id); On 2016/02/09 10:10:15, herhut wrote: ...
4 years, 10 months ago (2016-02-09 10:13:54 UTC) #8
Søren Gjesse
4 years, 10 months ago (2016-02-09 10:40:31 UTC) #9
lgtm

https://codereview.chromium.org/1684433003/diff/60001/dart/pkg/lk/lib/leds.dart
File dart/pkg/lk/lib/leds.dart (right):

https://codereview.chromium.org/1684433003/diff/60001/dart/pkg/lk/lib/leds.da...
dart/pkg/lk/lib/leds.dart:26: toggle() => state = ! state;
Remove space after !.

Powered by Google App Engine
This is Rietveld 408576698