![]() |
Forum Index : Microcontroller and PC projects : Pi-cromite 5.04.17: Sprites
Page 1 of 3 ![]() ![]() |
|||||
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
Please find attached release 5.04.17 for Stretch 2018-02-09_053145_Pi-cromite5.4.17stretch.zip and for Jessie 2018-02-09_053643_Pi-cromite5.4.17jessie.zip and the updated manual 2018-02-09_053748_Pi-cromite_Manual.pdf This contains the full current implementation of SPRITES as per the various recent threads |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
Hello first, congratulations for the work. I have a little problem: I used this version on a raspi2 / Jessie. I installed a lcd 3.2"/3buttons ref I put the option "lcdpanel" (OPTION LCDPANEL ILI9341, L, 15,13,24) and tested with "line 0,0,100,200 ". its Ok After I added the option "touch" (OPTION TOUCH 16,21), then launched "gui calibrate". Impossible to calibrate.I dn't know if it is a problem hard or if this option is not installed on the screen, after that I wanted to remove the "touch" option. the problem is that it has also remove the "lcdpanel" option and impossible to work with lcd in mmbasic. To work correctly, I must delete ".option" , and after that I raise it, and finally I put back the option lcdpanel I specify that I have not tested with olders versions |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
Based on docs referenced it should be OPTION TOUCH 26,11 |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
sorry I put 26,11 (its a post mistake). The pb is that it disable also lcdpanel and after i cant use lcd |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
This will happen if T_IRQ or T_CS are being held low for some reason. T_IRQ would cause continuous interrupts. T_CS would enable the XPT2046 and corrupt the SPI bus. I haven't used this display but the functionality has been tested OK on a normal ILI9341 with discrete wiring |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
after some tests, it seems that my lcd is not an ILI9341 but an ILI9325 chines lcd is.... chines ![]() ![]() |
||||
Micro-80 Newbie ![]() Joined: 03/03/2017 Location: Russian FederationPosts: 26 |
Tell me please how to make startup mmbasic and the application program when power up Raspberry Pi. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
Not done it myself but see this page for suggestions |
||||
Micro-80 Newbie ![]() Joined: 03/03/2017 Location: Russian FederationPosts: 26 |
Thank`s, Peter! |
||||
davematt Regular Member ![]() Joined: 27/09/2011 Location: AustraliaPosts: 55 |
I love being able to draw to an HDMI screen, but I can't seem to be able to draw text. Line, box,and circle work fine, but so far text just does not appear. No mention of a text command in the manual, so quite possibly missing something... Anyone else had more success? TIA, Dave |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 1003 |
The pi-cromite manual only has commands that are new or different from the MM and MM+ so for those which have not changed see the MM and MM+ manuals. Latest F4 Latest H7 FotS |
||||
davematt Regular Member ![]() Joined: 27/09/2011 Location: AustraliaPosts: 55 |
Further to the above I've found I can display the string Time$ if I use a 'y value' of one. Anything larger will move the text up and off the screen proportionally. Text commands that have worked on dozens of mites and lcd screens just dont seem to display... |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
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 |
||||
davematt Regular Member ![]() Joined: 27/09/2011 Location: AustraliaPosts: 55 |
Bingo!! Working perfectly. How many ways can members say THANKYOU PETER... |
||||
Micro-80 Newbie ![]() Joined: 03/03/2017 Location: Russian FederationPosts: 26 |
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? |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
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. |
||||
Micro-80 Newbie ![]() Joined: 03/03/2017 Location: Russian FederationPosts: 26 |
Thank`s, Peter! All clear. |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
The source for the Pi-cromite version can now be downloaded from mmbasic.com Geoff Graham - http://geoffg.net |
||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
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? |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
Yes Same as the MM+ Page 6 of the manual attached to the first page of this thread Easiest place is the same as the mmbasic executable or a sub directory thereof |
||||
Page 1 of 3 ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |