Search found 9 matches

by neographophobic
Sun Mar 20, 2016 11:57 pm
Forum: 4x4x4 RGB Cube
Topic: Cube Code - Numerous Patterns
Replies: 2
Views: 3153

Re: Cube Code - Numerous Patterns

The code I've posted is written specifically for the Freetronics cube. That said I've had a look at the Rainbowduino doco, and while my code won't work directly, with some work I'm sure you could adapt some of the sketches to work. For example where I use cube.set(X, Y, Z, COLOUR), the Rainbowduino ...
by neographophobic
Mon Mar 07, 2016 10:05 am
Forum: 4x4x4 RGB Cube
Topic: BlueCube - Control a Cube from iOS or Android via Bluetooth LE
Replies: 1
Views: 2489

BlueCube - Control a Cube from iOS or Android via Bluetooth LE

BlueCube is an open source project I’ve created to allow remote control of a your cube via Bluetooth Low Energy (LE) from a compatible mobile (cell) phone using a Adafruit BlueFruit LE UART Friend https://www.adafruit.com/product/2479 module connected to the Cube, and the companion sketch. BlueCube ...
by neographophobic
Mon Mar 07, 2016 10:00 am
Forum: 4x4x4 RGB Cube
Topic: Cube Code - Numerous Patterns
Replies: 2
Views: 3153

Cube Code - Numerous Patterns

I’ve published to Github ( https://github.com/neographophobic/Cube4-Sketches ) a series of sketches I have created for various different patterns. A number of the patterns have non-blocking versions, which are designed to run using state machines and millis() instead of delay(). This is particularly...
by neographophobic
Mon Mar 07, 2016 9:59 am
Forum: 4x4x4 RGB Cube
Topic: Cube Library Code - User Defined Function
Replies: 2
Views: 3266

Re: Cube Library Code - User Defined Function

I’ve revisited the user defined functions modification I made to the library and made a small modification, and rewritten the example sketch. All of the example patterns have been changed so that they are contained in their own classes instead of the main sketch (making it easier to copy them betwee...
by neographophobic
Sun Jan 24, 2016 11:45 am
Forum: 4x4x4 RGB Cube
Topic: **CUBE CODE** Red Blue Emergengy Flashing
Replies: 2
Views: 2668

Re: **CUBE CODE** Red Blue Emergengy Flashing

That's really cool. Congrats on getting that sketch working. You mentioned that you were interested in tips for simplifying the sketch and that you were new to coding. I hope the following helps. I'll post the full revised sketch, and then explain the bits within it for you. #include "SPI.h" #includ...
by neographophobic
Mon Dec 14, 2015 9:32 am
Forum: 4x4x4 RGB Cube
Topic: **CUBE CODE** XYZ location for every LED
Replies: 3
Views: 3850

Re: **CUBE CODE** XYZ location for every LED

Thanks for sharing this!
by neographophobic
Mon Sep 28, 2015 11:18 am
Forum: 4x4x4 RGB Cube
Topic: Cube Library Code - User Defined Function
Replies: 2
Views: 3266

Cube Library Code - User Defined Function

When playing with my cube, I like the ability to control it via the serial command interface. However this is limited to a basic set of commands. When demonstrating items to people, you are limited to either loading different sketches, writing a sketch that cycled through different patterns, or addi...
by neographophobic
Mon Sep 28, 2015 11:17 am
Forum: 4x4x4 RGB Cube
Topic: Cube Library Code - Reduce Memory Usage
Replies: 1
Views: 2820

Cube Library Code - Reduce Memory Usage

I've just started playing with my cube, and I particularly like the Weather Cube example that has been posted at http://forum.freetronics.com/viewtopic.php?f=32&t=6277. It gave me some ideas on how I would like to extend it, but I started to get concerned about the memory usage and how it may limit ...
by neographophobic
Mon Sep 28, 2015 8:55 am
Forum: 4x4x4 RGB Cube
Topic: CUBE CODE - Letters
Replies: 1
Views: 3207

CUBE CODE - Letters

I was playing around with the concept of displaying text on my cube. A 4x4 grid is pretty constrictive, and from my experiment some characters are easy to distinguish, whereas others are not so easy (particularly the letter "B"). I based the characters off various examples I found online for 4x4 pix...