Home  |  Contents 

Microcontroller and PC projects
  Forum Index : Microcontroller and PC projects         Section
Subject Topic: Pi-cromite 5.04.17: Sprites Post ReplyPost New Topic
<< Prev Page of 5 Next >>
Author
Message << Prev Topic | Next Topic >>
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 2355
Posted: 13 February 2018 at 7:02pm | IP Logged Quote matherp

Quote:
I love being able to draw to an HDMI screen, but I can't seem to be able to draw text.


Looks like a bug I introduced in the last release - haven't got a development environment available at the moment but will try and cobble something together

UPDATE

Try this (untested)

2018-02-13_200231_mmbasicjessie.zip

2018-02-13_200255_mmbasicstretch.zip

Edited by matherp on 13 February 2018 at 8:03pm



Back to Top View matherp's Profile Search for other posts by matherp
 
davematt
Newbie
Newbie


Joined: 27 September 2011
Location: Australia
Online Status: Offline
Posts: 35
Posted: 13 February 2018 at 9:18pm | IP Logged Quote davematt

Bingo!!
Working perfectly.
How many ways can members say THANKYOU PETER...
Back to Top View davematt's Profile Search for other posts by davematt
 
Micro-80
Newbie
Newbie


Joined: 03 March 2017
Location: Russian Federation
Online Status: Offline
Posts: 26
Posted: 15 February 2018 at 1:30am | IP Logged Quote Micro-80

Dear Peter!
I use the "SETTICK PERIOD,TARGET" in my program for RPi 3B. If I set the period to less than 10 ms, the interrupt will still come with a period of 10 ms. It seems that the period can be set only by a multiple of 10 ms. The MMbasic manual says "The period can range from 1 to 2147483647 ms". How to make a period of a multiple of 1 ms?
Back to Top View Micro-80's Profile Search for other posts by Micro-80
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 2355
Posted: 15 February 2018 at 1:41am | IP Logged Quote matherp

Quote:
How to make a period of a multiple of 1 ms?


Sorry but you can't. The resolution of the tick timer is 10msec on the Pi-cromite. This is a limitation of the pigpio library. I will update the Pi-cromite documentation to make this clear.

Edited by matherp on 15 February 2018 at 1:48am
Back to Top View matherp's Profile Search for other posts by matherp
 
Micro-80
Newbie
Newbie


Joined: 03 March 2017
Location: Russian Federation
Online Status: Offline
Posts: 26
Posted: 15 February 2018 at 2:18am | IP Logged Quote Micro-80

Thank`s, Peter! All clear.
Back to Top View Micro-80's Profile Search for other posts by Micro-80
 
Geoffg
Guru
Guru
Avatar

Joined: 06 June 2011
Location: Australia
Online Status: Offline
Posts: 2403
Posted: 15 February 2018 at 3:56pm | IP Logged Quote Geoffg

The source for the Pi-cromite version can now be downloaded from mmbasic.com
Back to Top View Geoffg's Profile Search for other posts by Geoffg Visit Geoffg's Homepage
 
lew247
Guru
Guru
Avatar

Joined: 23 December 2015
Location: United Kingdom
Online Status: Offline
Posts: 972
Posted: 12 May 2018 at 6:49pm | IP Logged Quote lew247

This is an amazing project
Looking through the docs you've listed the pinout for compatibility with other pcb's
You have TOUCH-IRQ on pin 24 and TOUCH-CS on pin 26
but I cannot see which pin you use for T_CLK
or does it use pin 23 SPI-CLK which would make T_DO Pin 19 and T_DIN Pin 21?

Could someone beso kind as to answer the following as well please?
There are so many pages about the Pi-cromite but I cannot find what you actually do to start MM on the Pi

And what settings you have to config with the various Displays

I know they are listen in the MM+ manual but I would assume they are different for the Pi?

How do you read from the SD card on the Pi? and Where on the SD card do you store images for use with the Pi?
for instance on the MM+ I would Load image "test.bmp" ,248,330 'load picture x,y
Or is it simply the same command?


Back to Top View lew247's Profile Search for other posts by lew247
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 2355
Posted: 12 May 2018 at 6:59pm | IP Logged Quote matherp

Quote:
r does it use pin 23 SPI-CLK which would make T_DO Pin 19 and T_DIN Pin 21?


Yes

Quote:
How do you read from the SD card on the Pi?

Same as the MM+

Quote:
There are so many pages about the Pi-cromite but I cannot find what you actually do to start MM on the Pi


Page 6 of the manual attached to the first page of this thread

Quote:
Where on the SD card do you store images for use with the Pi?

Easiest place is the same as the mmbasic executable or a sub directory thereof
Back to Top View matherp's Profile Search for other posts by matherp
 
lew247
Guru
Guru
Avatar

Joined: 23 December 2015
Location: United Kingdom
Online Status: Offline
Posts: 972
Posted: 12 May 2018 at 7:11pm | IP Logged Quote lew247

matherp wrote:

Quote:
There are so many pages about the Pi-cromite but I cannot find what you actually do to start MM on the Pi


Page 6 of the manual attached to the first page of this thread


I'm an idiot I read through that manual maybe a dozen times but each time I missed it.
With the SDD1963 do you still use OPTION LCDPANEL controller, orientation [,LCD-A pin] [,RD pin]
and for touch would you use OPTION TOUCH 26, 24, 13?
Sorry for such a simple question but I'd like to make sure I had it correct first before I try and figured out why it didn't work if that makes sense

Edited by lew247 on 12 May 2018 at 7:12pm
Back to Top View lew247's Profile Search for other posts by lew247
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 2355
Posted: 12 May 2018 at 8:36pm | IP Logged Quote matherp

Quote:
With the SDD1963 do you still use OPTION LCDPANEL controller, orientation [,LCD-A pin] [,RD pin]


Yes - on Grogster's board it is: OPTION LCDPANEL SSD1963_x,L,,36

Quote:
and for touch would you use OPTION TOUCH 26, 24, 13


Can't remember if the buzzer is implemented (probably OK) but OPTION TOUCH 26,24 definitely works on Grogster's board, 13 is used for SSD1963 so wouldn't be valid with that display
Back to Top View matherp's Profile Search for other posts by matherp
 
lew247
Guru
Guru
Avatar

Joined: 23 December 2015
Location: United Kingdom
Online Status: Offline
Posts: 972
Posted: 12 May 2018 at 10:43pm | IP Logged Quote lew247

I've just got a Pi Zero W and I'm trying to make a board to plug it onto the back of my SDD1963
I know Grogster designed a board for this, but I want it for one specific purpose with just a couple of bits attached in specific places and while his board is amazing, it won't serve my purpose
Would anyone mind checking my circuit and tell me if I've made any mistakes please?





Back to Top View lew247's Profile Search for other posts by lew247
 
disco4now
Senior Member
Senior Member


Joined: 18 December 2014
Location: Australia
Online Status: Offline
Posts: 281
Posted: 13 May 2018 at 11:35am | IP Logged Quote disco4now

Hi Lewis,
I have just made a similar thing with veroboard.

I don't think you will need the LED-A connection as you will strap the SSD1963 for PWM mode.

The CS pin 11 on the SSD1963 should be tied to GND so it permanently selected.
Can't see anything else.

I connected power to the Pi and used its 5v to power a separate 3.3v regulator for the 3.3v to the LCD as mine is a 5" which powers the the backlight from its 3.3v supply and I though this may be too much for the Pi regulator.

I think with the 7" most power to the LCD would come via the 5v supply and the 3.3v current would be minimal and could be supplied by the Pi regulator, so what you have might be OK.

Someone who knows more about the 7" power usage might chime in.

Will you be having the SSD1963 and the pi mounted on opposite sides of the board?

Regards
Gerry


Back to Top View disco4now's Profile Search for other posts by disco4now
 


<< Prev Page of 5 Next >>
In the news...
 
Post ReplyPost New Topic
Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.8
Copyright ©2001-2004 Web Wiz Guide

This page was generated in 0.1445 seconds.
Privacy Policy     Process times : 0, 0.02, 0, 0.12