![]() |
Forum Index : Microcontroller and PC projects : PicoMite V6.00.02 release candidates - all versions
![]() ![]() |
|||||
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 9796 |
Electricat have you looked at the new chain command and save context/load context - don't know if they help |
||||
electricat![]() Senior Member ![]() Joined: 30/11/2020 Location: LithuaniaPosts: 240 |
I routinelly read and - re read manual and important threads like beata and RC, but seems missed this one. Shame on me. Sounds promissing! Will tray! Edited 2025-03-26 20:17 by electricat |
||||
electricat![]() Senior Member ![]() Joined: 30/11/2020 Location: LithuaniaPosts: 240 |
It is said but users are summoned from hell to broke things ![]() SAVE CONTEXT CLEAR used inside of startup sub where DIM and Local were declared was unhapy about Local and failed. But sub mm.prompt SAVE CONTEXT CLEAR end sub Seems to work (without extensive testing) as clears vars on exit. Slows down exit to cmd prompt becouse saves .vars to flash. Means, unnecessary wearing and tearing flash. If we could ommit flash write and have command, something like maybe SAVE NONE CLEAR then it might work. However how it might affect what users put in MM.PROMPT ... ? But it is not my wishes, just looking how it could be solved. Then another stupid idea came from hell.. if I could just use sub mm.prompt CLEAR end sub However, you know, how it ended ![]() Will think/play furthurer |
||||
JanVolk Senior Member ![]() Joined: 28/01/2023 Location: NetherlandsPosts: 195 |
Peter, Oled screen is now working normally again. Thanks for this. The other problem of the firmware crashing in the editor is still the case. It always occurs when scrolling down with the arrow keys in the program with the editor and can only be fixed with a hard reset. Test with PicoMite MMBasic RP2040 Edition V6.00.01 it always goes well and with PicoMite MMBasic RP2040 Edition V6.00.02RC7 it always goes wrong. Program is about 1100 lines long and stops at line 304. Communication with Tera Term is then broken and after a reset there is communication again. It also happens with PicoMite MMBasic RP2350 Edition V6.00.02RC7. > option list PicoMite MMBasic RP2040 Edition V6.00.01 OPTION SYSTEM I2C GP0,GP1 OPTION COLOR CODE ON OPTION HEARTBEAT OFF OPTION PICO OFF OPTION DISPLAY 44, 100 OPTION LCD PANEL SSD1306I2C, RLANDSCAPE OPTION SDCARD GP5, GP6, GP7, GP4 PicoMite MMBasic RP2040 Edition V6.00.02RC7 Copyright 2011-2025 Geoff Graham Copyright 2016-2025 Peter Mather Firmware updated > option list PicoMite MMBasic RP2040 Edition V6.00.02RC7 OPTION SYSTEM I2C GP0,GP1 OPTION COLOR CODE ON OPTION HEARTBEAT OFF OPTION PICO OFF OPTION CPU SPEED (KHz) 200000 OPTION DISPLAY 44, 100 OPTION LCD PANEL SSD1306I2C, RLANDSCAPE OPTION SDCARD GP5, GP6, GP7, GP4 > Greetings, Jan. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 9796 |
Does this occur is you disable the OLED? |
||||
JanVolk Senior Member ![]() Joined: 28/01/2023 Location: NetherlandsPosts: 195 |
Peter, This tested with oled screen disabled and i2c is still active. (4x20 lcd screen) Then it works fine and I can now scroll to the end. > option list PicoMite MMBasic RP2040 Edition V6.00.02RC7 OPTION SYSTEM I2C GP0,GP1 OPTION COLOR CODE ON OPTION HEARTBEAT OFF OPTION PICO OFF OPTION CPU SPEED (KHz) 200000 OPTION DISPLAY 44, 100 OPTION SDCARD GP5, GP6, GP7, GP4 Greetings, Jan. |
||||
JanVolk Senior Member ![]() Joined: 28/01/2023 Location: NetherlandsPosts: 195 |
Peter, Thanks also for list variables Greetings, Jan. PicoMite MMBasic RP2040 Edition V6.00.02RC7 Copyright 2011-2025 Geoff Graham Copyright 2016-2025 Peter Mather > list variables > run > list variables DIM FLOAT ALIVE DIM FLOAT BEREIK_MAX(21) DIM FLOAT BEREIK_MIN(21) DIM FLOAT BINNEN_TEMP DIM FLOAT BSEC DIM FLOAT BUITEN_TEMP DIM FLOAT LCDI2C_BACKLIGHT DIM FLOAT LCDI2C_EMASK DIM FLOAT LCDI2C_I2CADDR DIM FLOAT LCDI2C_LCDBACKLIGHT DIM FLOAT LCDI2C_NIBPOS DIM FLOAT LCDI2C_RSDATAMASK DIM FLOAT LU_DICHT DIM FLOAT LU_OPEN DIM FLOAT MAX_MENU_TELLER DIM FLOAT MAX_RAAM DIM FLOAT MENU_TELLER DIM FLOAT MENU_TELLER_OLD DIM FLOAT MIN_VERSTELLING DIM FLOAT PIJL_DOWN DIM FLOAT PIJL_UP DIM FLOAT RAAM_0 DIM FLOAT RAAM_10 DIM FLOAT RAAM_100 DIM FLOAT RAAM_DICHT DIM FLOAT RAAM_MIN DIM FLOAT RAAM_OPEN DIM FLOAT RAAM_PLUS DIM FLOAT RAAMSTAND DIM FLOAT RAAMSTAND_10 DIM FLOAT RAAMSTAND_100 DIM FLOAT RAAMSTAND_A DIM FLOAT RAAMSTAND_ADC DIM FLOAT RAAMSTAND_B DIM FLOAT RAAMSTAND_BER DIM FLOAT RAAMSTAND_BU DIM FLOAT RAAMSTAND_BUI DIM FLOAT RAAMSTAND_IJK DIM FLOAT RAAMSTAND_IJK10 DIM FLOAT RAAMSTAND_M DIM FLOAT RAAMSTAND_MENU DIM FLOAT RAAMSTAND_MIN DIM FLOAT RAAMSTAND_N DIM FLOAT RAAMSTAND_N100 DIM FLOAT RAAMSTAND_T DIM FLOAT RAAMSTAND_T100 DIM FLOAT REGENMELDER DIM FLOAT REGENMELDER_ADC DIM FLOAT REGENMELDER_TIJD DIM FLOAT RESOLUTIE(21) DIM FLOAT STATUS_KAS DIM FLOAT STATUS_METEO DIM FLOAT STATUS_PIJL_DOWN DIM FLOAT STATUS_PIJL_UP DIM FLOAT STATUS_RAAM DIM FLOAT TEMP DIM FLOAT TEMP_OLD DIM FLOAT TEMPERATUUR(5) DIM FLOAT TIMERLOOP DIM FLOAT UIT DIM FLOAT VERWERK_GEG DIM FLOAT WAARDE_OLD DIM INTEGER MAX_VERSTELLING DIM INTEGER WAARDE(21) DIM STRING I DIM STRING VERSIE > |
||||
JanVolk Senior Member ![]() Joined: 28/01/2023 Location: NetherlandsPosts: 195 |
Update: The Oled screen is disabled. Only I2C LCD screen 4x20 and a DS18B20. Scrolling with the arrow keys works fine, but scrolling with the mouse wheel sometimes causes the editor to freeze. Ln: n and Col: n and INS are missing and communication can be restored with a hard reset. Also tested without I2C hardware and communication stops (freezes). With Option system i2c disable it continues to work fine so far. So is I2C possibly the problem? Greetings, Jan. |
||||
homa![]() Guru ![]() Joined: 05/11/2021 Location: GermanyPosts: 421 |
Out of interest: How do I enter the ~ on the German keyboard? [AltGr]+[+~*] (to the left of the [Enter] key) does not work. In the terminal this is no problem. [AltGr]+[Q@] for @ works on keyboard. Therefore it is not the [AltGr]-Key. Version is PicoMiteHDMI MMBasic USB RP2350A Edition V6.00.02RC7 from 25.03. @Peter, have you seen my other questions? 1) Music playback: > play mp3 “going <-- very quietly PLOPP > play pause <-- PLOPP > play resume <--PLOPP > play stop <-- NO plopp, okay when the song is finished and the playback stops: <--PLOPP 2) the counter question to MODFILE and pause? If you make it possible, I would also find it stringent to the other command behavior. Does the command “PLAY MODSAMPLE Samplenum, channel[,volume]” still work when PAUSE is active? Or would no samples be played? That would be cool for the sound effect usage :-) Is there also a parameter in the depths of your implementations with which note the sample is played back? Edited 2025-03-27 02:46 by homa |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 4715 |
Homa, For Petscii robots Martin made 2 modfiles. 1 with sound track, and sfx (samples). And one with an empty sound track, only having sfx samples. So technically you can play modsamples without a sound track playing, but I do not think you can play modsamples when the player is paused or stopped. About the plops in sound, do mention if you use pwm, I2s or SPI audio. I know pwm has plops, but i2s should not. Maybe pwm can be improved. Plops are result of either stopping and starting the pwm timer, such as with a bitrate change, or writing a zero value, in stead of 50% when stopping Volhout Edited 2025-03-27 02:57 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
homa![]() Guru ![]() Joined: 05/11/2021 Location: GermanyPosts: 421 |
I use the “standard” Pico2 HDMI board from Peter. Edited 2025-03-27 03:30 by homa |
||||
![]() ![]() |
![]() |