![]() |
Forum Index : Microcontroller and PC projects : Pi-cromite 5.04.17: Sprites
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
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 |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
Yes - on Grogster's board it is: OPTION LCDPANEL SSD1963_x,L,,36 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 KingdomPosts: 1702 |
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: AustraliaPosts: 1003 |
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 KingdomPosts: 1702 |
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 KingdomPosts: 1702 |
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: AustraliaPosts: 1003 |
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. ' Custom Directives to load,save and run via the clipboard #PI_CLIPBOARD #PI_AUTORUN #PI_AUTOSAVE "ws101.bas" Regards Gerry Latest F4 Latest H7 FotS |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 1003 |
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 Gerry Latest F4 Latest H7 FotS |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 1003 |
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 KingdomPosts: 10315 |
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 KingdomPosts: 10315 |
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 >=32 |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
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 KingdomPosts: 10315 |
Have you accidentally deleted pigpio? |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
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 KingdomPosts: 1702 |
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 KingdomPosts: 1702 |
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 KingdomPosts: 10315 |
Please PM me with your code (including the key) and I'll have a look |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
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: FrancePosts: 435 |
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 KingdomPosts: 1702 |
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? |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |