Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 17:41 16 Apr 2024 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 : A PicoMite CSUB to  timestamp pin changes (Manchester code?)

     Page 2 of 2    
Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5875
Posted: 10:44pm 19 Sep 2022
Copy link to clipboard 
Print this post

Likewise,
Thanks Gerry, works perfectly.

Jim
VK7JH
MMedit   MMBasic Help
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 1762
Posted: 11:24pm 20 Sep 2022
Copy link to clipboard 
Print this post

Tested it with the new PicoMiteVGA MMBasic Version 5.07.05RC1 and got this again:-

"Edit 2
Now the immediate mode line editing is not quite right. Pressing the up arrow moves the cursor down to the next line with no ">". Pressing enter runs the last line even though no command is showing. This makes editing a previous line tricky.

> ? time$    <----typed time$ enter
09:44:57
> ? time$    <----pressed up arrow
             <----pressed enter                                                                                                            
09:45:11
>

Re flashing doesn't fix it, unless the Pico is 'nuked' first."

The oddity of not being able to get out of the Interrupt Sub called by it remains.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 1762
Posted: 06:28am 22 Jan 2024
Copy link to clipboard 
Print this post

Attempted to use CSub LOG on latest firmware but no-go.
> RUN
Error: Invalid address - resetting

> option list
PicoMiteVGA MMBasic Version 5.08.00
OPTION SYSTEM I2C GP6,GP7
OPTION COLOURCODE ON
OPTION KEYBOARD US
OPTION CPUSPEED (KHz) 252000
OPTION DISPLAY 55, 132
OPTION SDCARD GP13, GP10, GP11, GP12
OPTION RTC AUTO ENABLE
OPTION COUNT GP2,GP3,GP4,GP5
>
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3648
Posted: 02:03pm 22 Jan 2024
Copy link to clipboard 
Print this post

Did you recompile it from the C?

Likely need to...

John
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 1762
Posted: 08:32pm 22 Jan 2024
Copy link to clipboard 
Print this post

  Quote  Likely need to...
Agreed.
Revisiting this was prompted by @Morgs67 needing a Pico version of NECsend CSub, which he was unable to successfully recompile.
I have also had no luck recompiling LOG.
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 842
Posted: 09:16pm 22 Jan 2024
Copy link to clipboard 
Print this post

Recompiled for 5.08.00 Release. Untested.


'File LOG.bas written 23-01-2024 08:10:57 v1.44
CSUB LOG
00000042
'check_timer
B082B580 4B10AF00 3320681B 4B0F607B 4798681B 681A687B 4299685B D10ED803
D8004290 4B0AE00B 2200681B 4B09601A 2200681B 4B08601A 2201681B 46C0701A
B00246BD 46C0BD80 10000384 100003A4 10000380 100003C0 100003C8
'intprog
B084B580 4B23AF00 60FB681B 681B4B21 60BB3310 681B68FB 68BB607B 1E5A681B
601A68BB 681B68BB DC0B2B00 681B4B1A 601A2200 681B4B19 601A2200 681B4B18
701A2201 681B4B17 47982009 D0081E03 681B4B15 00024798 6879000B 604B600A
4B11E00D 4798681B 000B0002 21002000 41991A80 000B0002 600A6879 68FB604B
3308681B 68FB001A 46C0601A B00446BD 46C0BD80 10000384 10000380 100003C0
100003C8 10000324 100003A4
'main
B088B580 60F8AF00 607A60B9 681B4B16 447A4A16 4B16601A 4A16681B 601A447A
681B4B15 4B1461FB 3310681B 4B1261BB 3320681B 68FA617B 601A69FB 681A68BB
69BB685B 4B0D601A 4798681B 000B0002 68086879 18126849 6979414B 604B600A
46BD46C0 BD80B008 100003C0 FFFFFF3F 10000380 FFFFFED9 10000384 100003A4
End CSUB



Latest F4 Latest H7
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 1762
Posted: 12:33am 23 Jan 2024
Copy link to clipboard 
Print this post

  Quote  Recompiled for 5.08.00 Release. Untested.

Thank you, that is perfect.

Reading data stream from a DHT11 nicely. Now to try on an IR remote.
Edit.
Yes, it reads the IR stream too. However the data rate is low enough to read just with MMBasic code.
Edited 2024-01-28 16:49 by phil99
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 1762
Posted: 05:47am 10 Feb 2024
Copy link to clipboard 
Print this post

Edit. Oops, wrong thread!NECsend Sub
Edited 2024-02-10 20:32 by phil99
 
     Page 2 of 2    
Print this page


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

© JAQ Software 2024