tomazas / ledcube8x8x8

8x8x8 3D LED Cube source code
MIT License
137 stars 53 forks source link

Monochrome Cube not working properly #12

Closed HRDHRD5 closed 1 year ago

HRDHRD5 commented 1 year ago

Hello, I am trying to use your Project to control my 8x8x8 singel colored (blue) cube. The Cube im using: https://www.amazon.de/gp/aw/d/B084LLW3MP/ref=sspa_mw_detail_2?ie=UTF8&psc=1&sp_csd=d2lkZ2V0TmFtZT1zcF9waG9uZV9kZXRhaWwp13NParams

The cube is working fine when downloading animations with the given program. When clicking on check MCU in the downloader program also says that the MCU type is STC12C5A60S2.

I have installed the firmware (ledcube8.hex) which worked fine. Pins Connected:

I am facing the following problems:

First I tried it through this program: https://github.com/Sliicy/8x8x8-LED which is also based on your code... It results pretty much in the same problems. Animations in general make no sense/are displayed wrong.

I have set the serialPort like this: serialPort.BaudRate = 19200; serialPort.DataBits = 8; serialPort.StopBits = StopBits.One; serialPort.Parity = Parity.None;

And the cube: Cube cube = new Cube(8, 8, 8); cube.type = CubeType.Monochrome;

Cube off (results in cube turning all leds off...): cube.Clear(CubeColor.White); SerialHelper.Send(serialPort, cube);

Thanks a lot for your work on the project! I was hoping to find something like this earlier or later.

HRDHRD5 commented 1 year ago

Found the same issue and solution here: https://github.com/tomazas/ledcube8x8x8/issues/9