Skip to content

Commit

Permalink
test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
coral committed Oct 12, 2020
1 parent d95ecc0 commit 650d8ee
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions dev/newdisplay/newdisplay.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ func main() {

lcd.WriteBuffer(b)

time.Sleep(1 * time.Second)
time.Sleep(2 * time.Second)

lcd.WriteBuffer(b)

time.Sleep(1 * time.Second)
time.Sleep(2 * time.Second)

eb[0] = "HALKKKASFOJKF"

lcd.WriteBuffer(eb)

time.Sleep(1 * time.Second)
time.Sleep(2 * time.Second)

lcd.WriteAt(2, 3, "DENISSSSS")

time.Sleep(1 * time.Second)
time.Sleep(2 * time.Second)

display.Message(lcd, "HELLO BOYS")

Expand Down Expand Up @@ -83,7 +83,15 @@ func main() {
time.Sleep(800 * time.Millisecond)
}

time.Sleep(1 * time.Second)
time.Sleep(2 * time.Second)

display.RenderSlider(lcd, "INT", 25, 0, 100)

time.Sleep(2 * time.Second)

display.RenderFloatSlider(lcd, "FLOAT", 26.7, 0, 87.3)

time.Sleep(2 * time.Second)

display.Error(lcd, fmt.Errorf("KORV KORV"))

Expand Down

0 comments on commit 650d8ee

Please sign in to comment.