Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:25 12 Jul 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 : PicoMite V6.00.02

     Page 3 of 3    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10240
Posted: 11:19am 02 Jul 2025
Copy link to clipboard 
Print this post

I'll add it to the (previously empty) bug list
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2540
Posted: 03:27pm 02 Jul 2025
Copy link to clipboard 
Print this post

  Volhout said  @Peter,

I am sorry to report a bug in 6.00.02 release.
This is tested on PWM audio on 6.00.02 on the VGA design 2 platform, but could very well be transparent over multiple platforms.

In my effort to display Lissajous graph, I tried this:


PLAY SOUND 1,L,S,1000,25
PLAY SOUND 2,R,S,1001,25
DO : LOOP


The left channel shows a sine wave centered around 1.65V, frequency 1kHz.
The right channel does not show a sine wave centered around 1.65V, it switches to 3.3V dc.

Even when I comment out the L channel, the right channel outputs DC.

Volhout

don't the x,y have to be different phase?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10240
Posted: 03:50pm 02 Jul 2025
Copy link to clipboard 
Print this post

No - its just a simple typo in the right channel code
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2540
Posted: 07:09pm 02 Jul 2025
Copy link to clipboard 
Print this post

  matherp said  No - its just a simple typo in the right channel code

duh. I was told on this forum that to get Lissajous you needed 2 sines at opposite phase. wanted to make a component tester... not really I got one measures everything.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5058
Posted: 08:28pm 02 Jul 2025
Copy link to clipboard 
Print this post

When frequenties of the 2 are different, there Will be moments where phase is opposite.
And moments when not. So you get a rotating elypsoid when viewer in xy mode.

Volhout
PicomiteVGA PETSCII ROBOTS
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5058
Posted: 06:17am 03 Jul 2025
Copy link to clipboard 
Print this post

  matherp said  I'll add it to the (previously empty) bug list


Apparently PLAY SOUND has been forgotten in testing for a long time. I know that Game*Mite uses play sound (the entertainer), but since it mixes L and R this was not detected (you hear a click, and slightly less loud sound).

5.08.00 : PLAY SOUND works
5.09.00 : PLAY SOUND, all waveforms work except sine wave. Sine wave has amplitude 0.
6.00.01 : behaves identical to 6.00.02
6.00.02 : R channel gives DC, no modulation, on sine wave. L channel works fine.

As the Germans would say:
"Vergangen, Vergessen, Vorueber.... Vergangen, Vergessen, Vorbei".

For this Lissajous demo. I'll revert back to 5.08.00 (unless there is a quick fix for 6.00.02 .. but 5.08.00 will do fine for this application).

Volhout
Edited 2025-07-03 16:23 by Volhout
PicomiteVGA PETSCII ROBOTS
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2610
Posted: 08:06am 03 Jul 2025
Copy link to clipboard 
Print this post

While you are waiting will this be adequate?

PLAY TONE 1000,1001

This does give two frequencies in 6.00.02, though if you need to vary the amplitude a pot on or two would be needed.
Edited 2025-07-03 18:25 by phil99
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5058
Posted: 08:48am 03 Jul 2025
Copy link to clipboard 
Print this post

Hi Phil,

Thanks for the suggestion, but in this particular case I need to play sound because I can mix in other signals as well.

Volhout
PicomiteVGA PETSCII ROBOTS
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 491
Posted: 07:35am 06 Jul 2025
Copy link to clipboard 
Print this post

option list
PicoMiteHDMI MMBasic USB RP2350B Edition V6.00.02
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION FLASH SIZE 16777216
OPTION COLOURCODE ON
OPTION KEYBOARD US
OPTION PICO OFF
OPTION RESOLUTION 640x480 @ 252000KHz
OPTION SDCARD GP1, GP2, GP3, GP0
OPTION AUDIO GP6,GP7', ON PWM CHANNEL 3


The first time after booting or cpu restart, PLAY MP3 fails, but only the very first call. From then on it works:
play mp3 "b:"
Directory found - commencing player
Error : Could not find the file
> play mp3 "b:"
Directory found - commencing player
test.mp3
test2.mp3
crazy.mp3
Bob_Seeger-Turn_the_Page.mp3
 
geobh
Newbie

Joined: 29/01/2022
Location: Australia
Posts: 7
Posted: 04:45am 07 Jul 2025
Copy link to clipboard 
Print this post


Hi
I've not updated for 2 years or so and now I'm trying to understand all the new hardware and updates.
Looks like a lot of work, well done.

I want to connect an e-ink display but in the section for displays I cannot find any listed. There's SSD1306 OLED but not e-ink.

All help appreciated. Thanks
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2610
Posted: 05:03am 07 Jul 2025
Copy link to clipboard 
Print this post

MATH WINDOW in(), minout, maxout, out() [,minin, maxin] Manual page 128

Not sure if this a bug or the manual needs an extra note.
minin and maxin need to be floats. Integers give less than useful results.

Using the example in the manual:-
> DIM integer IN(2)=(1,2,3), OUT(2), LOW, HIGH : MATH WINDOW IN(), 7, 3, OUT(), LOW, HIGH
> ? LOW, HIGH : MATH v_print OUT()
4607182418800017408     4613937818241073152
7, 5, 3
>
> clear
> DIM integer IN(2)=(1,2,3), OUT(2) : dim float LOW, HIGH : MATH WINDOW IN(), 7, 3, OUT(), LOW, HIGH
> ? LOW, HIGH : MATH v_print OUT()
1       3
7, 5, 3
>
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10240
Posted: 06:58am 07 Jul 2025
Copy link to clipboard 
Print this post

  Quote  I want to connect an e-ink display but in the section for displays I cannot find any listed.

Every e-ink display seems to have a different controller chip and the ones I originally supported have been superseded and are no longer available. Accordingly, I have removed support for e-ink displays. You can use a user-written driver to support them but you are on your own to decode the vagaries of how they work - Sorry.
 
geobh
Newbie

Joined: 29/01/2022
Location: Australia
Posts: 7
Posted: 08:26am 07 Jul 2025
Copy link to clipboard 
Print this post

Thanks for the update.
As there are two commands REFRESH and AUTOREFRESH in the latest manual I was hoping for a different outcome.
Many thanks for the fast reply.
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 237
Posted: 04:14pm 07 Jul 2025
Copy link to clipboard 
Print this post

Changing fc and bc doesn't work with V6.00.02
I get one comma too many, which causes an error message with the same colors after adjustment.

> option lcdpanel console 1,,,99

> option list
PicoMite MMBasic RP2040 Edition V6.00.02
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION SYSTEM I2C GP20,GP21
OPTION COLOURCODE ON
OPTION CPUSPEED (KHz) 200000
OPTION LCDPANEL CONSOLE ,,,, 99
OPTION DISPLAY 26, 30
OPTION LCDPANEL ILI9341, PORTRAIT,GP13,GP14,GP15,GP9
OPTION SDCARD GP19

Greetings,

Jan.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10240
Posted: 05:16pm 07 Jul 2025
Copy link to clipboard 
Print this post

Works for me

option lcdpanel console 1,rgb(red),rgb(blue),99
option lcdpanel console 1,,,99


First comma just indicates that the font is default
Edited 2025-07-08 03:32 by matherp
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 237
Posted: 05:42pm 07 Jul 2025
Copy link to clipboard 
Print this post

Thank you Peter.
I had not tried these color inputs yet. Names and numbers. Something for the manual possible?

Greetings,

Jan.
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 237
Posted: 07:16pm 09 Jul 2025
Copy link to clipboard 
Print this post

Peter,

I did this. The final result, for the new color input, is quite a challenge, along with the manual.
Is it not entirely accurate, or is the manual incorrect?
It does work.

I use this as a scrolling settings list with an Arduino serial connection(3V3), which works correctly.
The Arduino has a blue 4x20 I2C LCD, hence the colors.

> option list
PicoMite MMBasic RP2040 Edition V6.00.02
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION SYSTEM I2C GP20,GP21
OPTION AUTORUN  ON
OPTION COLOURCODE ON
OPTION DEFAULT COLOURS WHITE,  BLUE
OPTION CPUSPEED (KHz) 200000
OPTION SDCARD GP19

> OPTION LCDPANEL ILI9341, P,GP13,GP14,GP15,GP9

> option lcdpanel console

> option list
PicoMite MMBasic RP2040 Edition V6.00.02
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION SYSTEM I2C GP20,GP21
OPTION AUTORUN  ON
OPTION COLOURCODE ON
OPTION CPUSPEED (KHz) 200000
OPTION LCDPANEL CONSOLE
OPTION DISPLAY 26, 30
OPTION LCDPANEL ILI9341, PORTRAIT,GP13,GP14,GP15,GP9
OPTION SDCARD GP19

option lcdpanel console 1,rgb(white),rgb(blue),99

> option list
PicoMite MMBasic RP2040 Edition V6.00.02
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION SYSTEM I2C GP20,GP21
OPTION AUTORUN  ON
OPTION COLOURCODE ON
OPTION DEFAULT COLOURS WHITE,  BLUE
OPTION CPUSPEED (KHz) 200000
OPTION LCDPANEL CONSOLE ,,, FF, 99
OPTION DISPLAY 26, 30
OPTION LCDPANEL ILI9341, PORTRAIT,GP13,GP14,GP15,GP9
OPTION SDCARD GP19

Regards,

Jan.
 
     Page 3 of 3    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025