Skip to content

Commit

Permalink
gofmt'd
Browse files Browse the repository at this point in the history
  • Loading branch information
conejoninja committed Feb 11, 2018
1 parent f3150c7 commit 4510283
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/firmata_tm1638.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@
package main

import (
"fmt"
"os"
"time"

"gobot.io/x/gobot"
"gobot.io/x/gobot/drivers/i2c"
"gobot.io/x/gobot/drivers/gpio"
"gobot.io/x/gobot/platforms/firmata"
)

Expand All @@ -38,7 +37,7 @@ func main() {
// Repeat and concat strings until long enough that with scroll it still shows text
const showText = " HELLO WORLD - gobot.io - TM1638 "
text := showText
for ;len(text)-len(showText)<len(modules)*8; {
for len(text)-len(showText) < len(modules)*8 {
text += showText
}

Expand Down

0 comments on commit 4510283

Please sign in to comment.