![]() |
Forum Index : Microcontroller and PC projects : PicoMite/PicoMiteVGA V5.07.03 release candidates
![]() ![]() |
|||||
Author | Message | ||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2398 |
as i asked: regarding INTERRUPT [myint] (pg 100 of the 'user manual'), is the purpose of this command primarily to allow a basic subroutine to be called from within a CSub? it does seem to be a reasonable query to make, especially as there could be some other function that is not at first glance obvious. cheers, rob :-) Edited 2022-01-18 02:41 by robert.rozee |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2414 |
@flasherror "This is interesting but what happens during reset (Picomite VGA output startup message so activity on GP19?)" Yes I didn't think of that. To make the scheme work VGA console would need to be disabled. I think OPTION LCDPANEL NOCONSOLE will do it. |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 3994 |
It looks useful elsewhere, too, as a way to lock out (other) interrupts (preferably for a short time). John Edited 2022-01-18 07:19 by JohnS |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2414 |
@flasherror In the "PicoMite VGA Check" thread there is a suggestion for a mapping that may do what you want, untested. Edit To get reliable switching of the GP19 output I think it will be necessary to redraw the whole screen immediately after each change of the Intensity bit, so it is only suitable for an output that changes infrequently and isn't time critical. Switching a relay perhaps. If using the map on the other thread, use CLS blackD(0) or CLS blackD(1) near the start of the program, after the re-mapping, to set the initial state. Edited 2022-01-19 07:00 by phil99 |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 969 |
PULLUPs/PULLDOWNs don't seem to work for the new SETPIN pin,CIN,options In External.c around line 490 when testing the option for PULLUP or PULLDOWN the code is testing against edge, it should test against option. I am pretty sure the pullups/pulldown aren't working as is. case EXT_CNT_IN: case EXT_FREQ_IN: // same as counting, so fall through case EXT_PER_IN: // same as counting, so fall through edge = GPIO_IRQ_EDGE_RISE; if(cfg==EXT_CNT_IN && option==2)edge = GPIO_IRQ_EDGE_FALL; if(cfg==EXT_CNT_IN && option>=3)edge = GPIO_IRQ_EDGE_FALL | GPIO_IRQ_EDGE_RISE; if(edge==1 || edge==4)gpio_pull_down (PinDef[pin].GPno); if(edge==2 || edge==5)gpio_pull_up (PinDef[pin].GPno); Regards Gerry Latest F4 Latest H7 FotS |
||||
X2themax Newbie ![]() Joined: 10/12/2021 Location: GermanyPosts: 11 |
Hello, I have a question about the Num Lock and Caps Lock feature in the console. When I press Num-Lock or Caps-Lock in the VGA console the parser gives me a "3" respectively. (After that Caps-Lock is activated.) Is it because of my german keyboard layout or even because of the keyboard ? All other entries are correct. I am using the Firmware Version: PicoMiteVGA V5.07.03RC16 Thanks and best regards. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10055 |
Its a bug - I wish you had posted yesterday ![]() I've fixed it and sent Geoff the revised files. I'll post when the download has been updated UPDATE Now updated - download 5.07.03 again and it should be fixed Edited 2022-01-20 08:35 by matherp |
||||
X2themax Newbie ![]() Joined: 10/12/2021 Location: GermanyPosts: 11 |
Wow Peter - what a fast Fix ! ![]() You are great ! ![]() I'm afraid to ask... I'm trying to play normal WAV files. (without success) I convert standard WAV files in Audacity to 8bit unsigned but somehow the playback routine or my incorrectly converted WAV file hangs. I have read the instructions in the manual but without success. Anyway thanks for your fast help ! |
||||
X2themax Newbie ![]() Joined: 10/12/2021 Location: GermanyPosts: 11 |
Oh... sorry my mistake ! ![]() The WAV-Output works good ! My mistake was that I forgot to do a clear flash earlier. After reloading the firmware, everything runs very satisfactorily. Thanks and best regards ! |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |