Skip to content

Commit

Permalink
Version 1.0
Browse files Browse the repository at this point in the history
ShowTest - Fixed "Event Processing" test case
  • Loading branch information
8bitbuddhist committed Jul 30, 2018
1 parent 9e6e66c commit b4e9c9b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 21 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ All notable changes to PixelMaestro will be documented in this file.

The format is loosely based on [Keep a Changelog](http://keepachangelog.com/).

## [v0.30.4] - In Progress

## [v1.0.0] - 2018-07-29
### Changed
- Fixed memory leak when building `MappedAnimations` maps.

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,21 @@ PixelMaestro is a graphics library for LED displays. It lets you create dynamic,
- [Getting Started](#getting-started)
- [Installation](#installation)
- [Using PixelMaestro](#using-pixelmaestro)
- [Running Tests](#running-tests)
- [Companion App](#companion-app)
- [Running Tests](#running-tests)
- [Donate](#donate)
<!-- TOC END -->

## Getting Started

To get started with PixelMaestro, [click here](https://github.com/8bitbuddhist/PixelMaestro/wiki/Tutorial) for an introductory tutorial or refer to the [documentation](https://github.com/8bitbuddhist/PixelMaestro/wiki).
[Click here](https://github.com/8bitbuddhist/PixelMaestro/wiki/Tutorial) for a tutorial on using PixelMaestro, or read the [documentation](https://github.com/8bitbuddhist/PixelMaestro/wiki).

If you want to run PixelMaestro on an Arduino, you can do so via the [Arduino IDE](https://www.arduino.cc/en/Main/Software) or [PlatformIO](https://platformio.org/). For detailed instructions, see the [examples folder](examples/arduino).

## Companion App

PixelMaestro has a companion desktop application called PixelMaestro Studio. PixelMaestro Studio lets you create custom animations, save and share configurations, control devices over USB, and more. [Click here](https://github.com/8bitbuddhist/PixelMaestro-Studio) to learn more about PixelMaestro Studio.

## Running Tests

PixelMaestro uses the [Catch](https://github.com/catchorg/Catch2) framework to run tests. Compiling the test suite requires CMake 3.6.2 or higher.
Expand All @@ -28,10 +32,6 @@ PixelMaestro uses the [Catch](https://github.com/catchorg/Catch2) framework to r
2. Run `cmake .`
3. Navigate to the `bin` folder and run `PixelMaestro_Test`.

## Companion App

PixelMaestro has a companion desktop application called PixelMaestro Studio. PixelMaestro Studio lets you mix animations in real-time, save and share configurations, control devices over USB, and more. [Click here](https://github.com/8bitbuddhist/PixelMaestro-Studio) to learn more about PixelMaestro Studio.

## Donate

If you find this project useful, cool, or just plain interesting, consider [making a donation](https://www.patreon.com/bePatron?c=1348704).
If you like this project, please consider [making a donation](https://www.patreon.com/bePatron?c=1348704).
10 changes: 1 addition & 9 deletions examples/arduino/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,10 @@
src_dir = src
lib_dir = ../../.

; [env:leonardo]
; platform = atmelavr
; board = leonardo
; framework = arduino
; lib_deps =
; Adafruit NeoPixel
; LightWS2812

[env:uno]
platform = atmelavr
board = uno
framework = arduino
lib_deps =
Adafruit NeoPixel
LightWS2812
LightWS2818
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=PixelMaestro
version=0.30.3
version=1.0.0
author=8bitbuddhist
maintainer=8bitbuddhist
sentence=Library for creating and rendering 2D animations and patterns.
Expand Down
4 changes: 2 additions & 2 deletions tests/tests/showtest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ TEST_CASE("Create and manipulate a Show.", "[Show]") {
Event(2, section_handler->set_animation(0, 0, AnimationType::Solid))
};
show->set_events(events, 2);
maestro.update(0);
show->update(0);

REQUIRE(show->get_current_index() == 1);
REQUIRE(show->get_last_time() == 1);
REQUIRE(show->get_last_time() == 0);
}
}

0 comments on commit b4e9c9b

Please sign in to comment.