Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:12 02 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Pi-cromite 5.04.17: Sprites

     Page 2 of 3    
Author Message
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 09:11am 12 May 2018
Copy link to clipboard 
Print this post

  matherp said  
  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 senseEdited by lew247 2018-05-13
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 10:36am 12 May 2018
Copy link to clipboard 
Print this post

  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
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 12:43pm 12 May 2018
Copy link to clipboard 
Print this post

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?





 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1003
Posted: 01:35am 13 May 2018
Copy link to clipboard 
Print this post

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



Latest F4 Latest H7 FotS
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 07:27am 13 May 2018
Copy link to clipboard 
Print this post

Thanks Gerry
Just sent you an email, also if you didn't get the one last night can you check your spam folder please
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 12:36pm 25 May 2018
Copy link to clipboard 
Print this post

I've just installed Jessie on my Pi and configured it
I know how to put MMBasic on the Pi and I know how to start it

IS is possible to edit the MMBasic program while the Pi is running?
Through MM edit or another similar program?
I can't imagine you'd have to remove the SD card and edit the program on the PC and then plug it back into the Pi?
I know you can run the Pi headless, I've actually done that and can talk to it using Putty

 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1003
Posted: 12:05am 26 May 2018
Copy link to clipboard 
Print this post

Hi Lewis,
Have a look here for editing via MMEdit

Extra info to edit Pi-cromite with MMEdit

This is what I am using.

These are the directives I add at start of program to allow loading of program by pasting from clipboard (use SHIFT + INS in putty)after setting up as per link above.

  Quote  
' Custom Directives to load,save and run via the clipboard
#PI_CLIPBOARD
#PI_AUTORUN
#PI_AUTOSAVE "ws101.bas"



Regards
GerryEdited by disco4now 2018-05-27
Latest F4 Latest H7 FotS
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1003
Posted: 07:01am 26 May 2018
Copy link to clipboard 
Print this post

Pi-cromite Manual Update
Some suggested updates to the Pi-cromite manual. The post linked below includes info on a new faster write to the LCD panels from 5.04.06 onward and that the RD pin is not now used/required. This information does not seem to be explicitly in the manual.

5.04.06 update about LCD Panels

I suggest the following updates.
Add the information in bold to the current introduction section.

High Speed LCD Panels
The Pi-cromite supports eleven different sized LCD display panels from 1.44" to 8. BLIT and transparent text is available for all panels. For the SSD1963 the RD pin no longer needs to be specified and can just be tied high instead. If it is specified it is just pulled high in the code.

On the pinout diagram place a note to some RD pin is now optional/not required.





Regards
GerryEdited by disco4now 2018-06-01
Latest F4 Latest H7 FotS
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1003
Posted: 10:39am 31 May 2018
Copy link to clipboard 
Print this post

A screen shot of an error I am am getting when mmbasic drops back to linux. Just putting it here so Peter can see it. Have PMed him with how I manage to achieve it but can't put a picture in the PM.



Latest F4 Latest H7 FotS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 04:07pm 04 Jun 2018
Copy link to clipboard 
Print this post

Please find attached version 5.4.18 for Stretch

2018-06-05_020428_mmbasicstretch.zip

and for Jessie
2018-06-05_020446_mmbasicjessie.zip

This fixes a memory leak in JSON parsing and also includes some of the most recent MMBasic bug fixes Geoff has released

 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 08:59am 08 Jun 2018
Copy link to clipboard 
Print this post

Please find attached version 5.4.19 for Stretch

2018-06-08_190744_mmbasicstretch.zip

and for Jessie

2018-06-08_190517_mmbasicjessie.zip

This updates the JSON parsing to support very large data sets. It also fixes the DS18B20 bug for pin numbers >=32Edited by matherp 2018-06-09
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 10:15am 08 Jun 2018
Copy link to clipboard 
Print this post

I've just installed this Peter, deleted the .option file and actually everything in the Pi folder
Copied MMBasic into the Pi folder
Restarted the Pi
Made the file executable then ran sudo ./mmbasic
And all I get is that scrolling diagonal screen full of words
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 11:36am 08 Jun 2018
Copy link to clipboard 
Print this post

  Quote  and actually everything in the Pi folder


Have you accidentally deleted pigpio?
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 12:15pm 08 Jun 2018
Copy link to clipboard 
Print this post

No it's still there
I restarted the Pi again and it's working now
Thanks,
no idea why it messed up the 1st time. I should have thought of restarting it the 2nd time before posting
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 11:35am 09 Jun 2018
Copy link to clipboard 
Print this post

For some reason with the latest version, anytime I'm using the system command and the code for the pi is wrong and throws an error the pi completely locks up and has to be rebooted
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 06:04pm 09 Jun 2018
Copy link to clipboard 
Print this post

This is what I mean, I know what I did wrong
but I cannot do anything with the Picromite or Pi itself until I reboot the Pi



 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 06:09pm 09 Jun 2018
Copy link to clipboard 
Print this post

Please PM me with your code (including the key) and I'll have a look
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 12:53pm 10 Jun 2018
Copy link to clipboard 
Print this post

Please find attached version 5.4.20 for Stretch

2018-06-10_224938_mmbasicstretch.zip

and for Jessie

2018-06-10_225245_mmbasicjessie.zip

The release includes a new sub command LONGSTRING PRINT [#n,] src%(). This prints the longstring stored in src%() to either a file, a serial port, or the console. This is particularly useful for diagnosing TCP client applications
 
goc30

Guru

Joined: 12/04/2017
Location: France
Posts: 435
Posted: 11:00pm 10 Jun 2018
Copy link to clipboard 
Print this post

Hi peter
New version is good for me (i have tested uart port with gps)
I have a small problème with Com2 (pins 7 and 11). some times i receive a bad byte (like 0x0f). I think that pb come from my configuration (i have many problems with rpi3b+ and strech, lot of functions don't work correctly, worst is uart ports).
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 08:10am 11 Jun 2018
Copy link to clipboard 
Print this post

Peter
One thing I noticed
If you PRINT TIME$ the time is there even without setting it
do you know where it or the Pi gets the time from?

 
     Page 2 of 3    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025