I just got a HY-MiniSTM32V and when I try to copy the code in PROJECT 2 - TOUCHSCREEN RGB LIGHT CONTROLLER I always run out of memory before I've even copied half the code onto the controller.
I'm using the Chrome addon to get the code onto the controller.
Any help would be very much appreciated since doing projects like this was basically why I got the controller in the first place and I would hate to have wasted my money.
Edit: calling memory() after resetting returns:
Hi - which screen size board do you have?
I've just noticed something a bit odd with the 3.2" binaries - it does seem like they're using far less of their memory than expected for some reason. If that is the case then I'll have a look at recompiling a newer version for you with that fixed.
If you have the 3.2, try this: http://www.espruino.com/files/espruino_hystm32_32_vc_1v43_beta.zip
Wow, thanks Gordon, I didn't expect a reply so soon. Yes I do indeed have the 3.2 sorry about not including that.
Yes this is much better memory() now returns the following:
After loading the code in Project 2 memory() returns:
And everything works.
One (well two really) final question if you don't mind, I see in the video your 3.2 has headers on the top edge and something I don't recognize poking out from under the screen on the bottom edge.
Did you solder those headers on yourself and what is that thing poking out from under the screen?
Finally thanks so much for your help.
Edit: one more question, let's say I might have inadvertently connected 5v to PB14(PD14) on the 3.2 would I have done some damage?
Great! There's actually twice that amount of memory available on there too, but at the moment I'm having issues keeping the code size down - so any more memory and you can't save :(
On the video, I just soldered headers on. They're cheap to buy, and it makes hacking stuff up easier as you can just plug and unplug wires. Also, at the bottom I'd soldered on a Bluetooth module (HC-05) so it could be controlled (or could send data wirelessly).
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem