![]() |
Forum Index : Microcontroller and PC projects : Draft PicoMite 6.00.01 User Manual
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
twofingers Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1527 |
@Geoff Are the question marks in the keydown description intentional? That seems strange to me. Maybe a typo? It's already in the manual for CMM2. Kind regards Michael causality ≠ correlation ≠ coincidence |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3269 |
Thanks Michael, I think that the question marks (?) should be equals (=). I will check with Peter who implemented this function. Geoff Geoff Graham - http://geoffg.net |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
Yes: should be = and of course you can have more than one modifier key pressed Edited 2025-01-25 04:45 by matherp |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3269 |
Also, thanks cosmic frog and disco4now. Changes made. Geoff Geoff Graham - http://geoffg.net |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3269 |
This is revision 5 which is up to date with all changes. I will update my website tomorrow. PicoMite_User_Manual.pdf Geoff Geoff Graham - http://geoffg.net |
||||
PhenixRising Guru ![]() Joined: 07/11/2023 Location: United KingdomPosts: 1142 |
Hey Geoff...Not sure about this but is this still true? ![]() I have a hard time keeping track but I remember "Eureka" ![]() |
||||
PhenixRising Guru ![]() Joined: 07/11/2023 Location: United KingdomPosts: 1142 |
Also...not such a big deal but it bit moi: MATH PID STOP: The manual shows a link to some example code that also has a MATH PID CLOSE The CLOSE now generates a syntax error. Maybe a mention to ignore it or something? ![]() |
||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1636 |
There is so little on the forum that explains the use of PID control. Why don't you please add a post with the corrected code so that others may benefit? Bill Keep safe. Live long and prosper. |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3269 |
That is one for Peter. If I remember correctly, he had it working but with caveats. Geoff Geoff Graham - http://geoffg.net |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
I would change it to To give context 1280x720 needs 372MHz which works on my (one) example. High speed VGA needs 378MHz and I simply cannot get the Pimoroni Pico Plus 2 to run at that speed even upping the voltage massively and trying every possible tweak of the PSRAM timings. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
Geoff Page 6 of the manual. In the table please change to Edited 2025-01-26 00:25 by matherp |
||||
PhenixRising Guru ![]() Joined: 07/11/2023 Location: United KingdomPosts: 1142 |
Hi Bill, It's not so much corrected as refined. In an earlier version, there was STOP followed by CLOSE. Now it appears to me that CLOSE was deemed redundant(?) and so STOP serves both purposes. Example code: I plan to share the complete motion-control package, including velocity-profiling and position control. Problem is that there is almost a daily PicoMite revelation and they are always really good ones ![]() MATH PID was only introduced after I'd been successfully running a Basic-only PID. MATH PID is far superior (fast) but right now I'm only playing with numbers and letting the interrupts run for days on end...Rock solid, BTW. The way it's looking right now is that a single PicoMite can perform the same function as the US$1,400 commercial product that I have used hundreds of ![]() |
||||
electricat![]() Senior Member ![]() Joined: 30/11/2020 Location: LithuaniaPosts: 295 |
How users (me at the moment) behaves and why later bothers devs. I wanted to use SEEK (used largely before in MMB4W but decided to check Picomite manual just to be sure) I read user manual: OPEN fname$ FOR mode AS [#]fnbr ..... RANDOM will open the file for both read and write and will allow random access using SEEK command. When opened the read/write pointer is positioned at the end of the file. I check SEEK : Will position the read/write pointer in a file that has been opened on the Flash Filesystem or SD Card for RANDOM access to the 'pos' byte. The first byte in a file is numbered one so SEEK #5,1 will position the read/write pointer to the start of the file opened as #5. User thinks "Well.. I must use RANDOM" Maybe it is worth to note in user manual RANDOM works the same as output and creates a file if one does not exist. SEEK works in case INPUT, then it might be stated more clear too. My MMBasic 'sand box' |
||||
electricat![]() Senior Member ![]() Joined: 30/11/2020 Location: LithuaniaPosts: 295 |
![]() did not read whole thread, but if unnoticed, seems to me as minor My MMBasic 'sand box' |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3269 |
Peter, I don't have a PicoMite to test but I assume that the example is wrong. Ie, it should be: MATH C_MUL a%(),a%(),a%() will square all the values in the array a%() Geoff P.S. electricat, I will fix the description of RANDOM Edited 2025-01-31 00:37 by Geoffg Geoff Graham - http://geoffg.net |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2417 |
Both MUL and MULT work. > clear > dim a%(3)=(1,2,3,4) > MATH C_MUL a%(),a%(),a%() > math v_print a%() 1, 4, 9, 16 > clear > dim a%(3)=(1,2,3,4) > MATH C_MULT a%(),a%(),a%() > math v_print a%() 1, 4, 9, 16 |
||||
aFox Senior Member ![]() Joined: 28/02/2023 Location: GermanyPosts: 102 |
Is it possible that the forum does not resolve the URL addresses from the manual correctly? Gregor |
||||
davematt Regular Member ![]() Joined: 27/09/2011 Location: AustraliaPosts: 55 |
Hi Geoff, If I’ve missed this being mentioned already, I apologise. Page 184 says setup SPI as “Setpin rx, tx, clk, SPI2. Trying to connect a MCP4822 DAC chip (great little item by the way), I connect like that, no joy. Reversing the order to match page 96 for System SPI, I tried (Setpin GP10, GP11, GP12, SPI2),the chip sprang to life… Haven’t checked any other combinations, but regardless, two opposite setups in the manual is scary. Best regards, Dave |
||||
PhenixRising Guru ![]() Joined: 07/11/2023 Location: United KingdomPosts: 1142 |
Page 184 says setup SPI as “Setpin rx, tx, clk, SPI2. Trying to connect a MCP4822 DAC chip (great little item by the way), I connect like that, no joy. Reversing the order to match page 96 for System SPI, I tried (Setpin GP10, GP11, GP12, SPI2),the chip sprang to life… Haven’t checked any other combinations, but regardless, two opposite setups in the manual is scary. Best regards, Dave Well the first example (page 184) indicates the functions whereas the example on page 96 indicates the actual pin assignments. I do kinda prefer though: MISO (master in slave out) MOSI (master out slave in) rather than rx, tx. |
||||
davematt Regular Member ![]() Joined: 27/09/2011 Location: AustraliaPosts: 55 |
Err, not quite. I believe my test implies the Pico is sending clock pulses out the first pin specified, and data out (tx) the second. This is contrary to the manual, but works for me. Hence my post in the Manual thread. I note it is super easy to get confused here, very possibly that’s my problem. I would like to understand better but. D |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |