Search found 8 matches

by Hanski
Wed Sep 27, 2017 4:19 am
Forum: Hardware Projects
Topic: Porting MicroPython to the Pokitto retro-gaming device (based on NXP LPC11U68)
Replies: 6
Views: 7891

Re: Porting MicroPython to the Pokitto retro-gaming device (based on NXP LPC11U68)

Kickstarter is over, and the early birds are being delivered next wednesday. I have heard there will be online shop later. Still, if you want to get yours from the first batch, you could mail to pokitto@pokitto.com, an have your name in the list. The.community around Pokitto is very lively in the fo...
by Hanski
Tue Sep 26, 2017 8:49 am
Forum: Hardware Projects
Topic: Porting MicroPython to the Pokitto retro-gaming device (based on NXP LPC11U68)
Replies: 6
Views: 7891

Re: Porting MicroPython to the Pokitto device (based on NXP LPC11U68)

That's really cool! I'm impressed you were able to get it all working in what must be a limited RAM environment - how much memory do you have to work with on the Pokitto? My quick perusal of the datasheets for that family of processors suggests that it tops out at 256KB... Looking forward to seeing...
by Hanski
Tue Sep 26, 2017 6:56 am
Forum: Hardware Projects
Topic: Porting MicroPython to the Pokitto retro-gaming device (based on NXP LPC11U68)
Replies: 6
Views: 7891

Porting MicroPython to the Pokitto retro-gaming device (based on NXP LPC11U68)

Hi, I just want to tell you about my MP porting project to Pokitto, which is an educational device/retro-gaming device/embedded system controller, containing: NXP LPC11U68 (ARM Cortex-M0+ processor, running at 48 MHz) 220x176 (16 bit color) LCD color screen Casing and buttons Speaker MC slot HW exte...
by Hanski
Tue Sep 26, 2017 4:48 am
Forum: Development of MicroPython
Topic: Implementing Python class instance attributes with C ?
Replies: 5
Views: 10816

Re: Implementing Python class instance attributes with C ?

Ok, I figured it out. Here is a simplified example of a Rect class that contains both mehtods and instance attributes. Feel free to suggest any fixes or improvements. These are the attributes and methods: Rect.x Rect.y Rect.width Rect.height Rect.colliderect(Rect) #include <stdio.h> #include <string...
by Hanski
Fri Sep 22, 2017 7:02 pm
Forum: Development of MicroPython
Topic: Implementing Python class instance attributes with C ?
Replies: 5
Views: 10816

Re: Implementing Python class instance attributes with C ?

Thanks, but it looks a bit too complicated as an example. It would be great if you cared to tell me how should I change my Rect class?
by Hanski
Fri Sep 22, 2017 6:04 am
Forum: Development of MicroPython
Topic: Implementing Python class instance attributes with C ?
Replies: 5
Views: 10816

Implementing Python class instance attributes with C ?

Hi, I have been porting MicroPython to Pokitto (http://www.pokitto.com) gaming device, which is based on LPC11U68 (NXP ARM Cortex-M0+), and it runs beautifully there :-) I am also porting a small subset of PyGame over MicroPython to be able to use Pokitto's color screen capabilities. In that I have ...