![]() |
Forum Index : Microcontroller and PC projects : SPI2 weird open/close error.....
Author | Message | ||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9588 |
Geoff, what do you make of this? ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2428 |
"MMBasic Ver 5.1 Beta 3" ummm, shouldn't you be using the release (non-beta) version of 5.1? or the 5.2 beta? cheers, rob :-) |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9588 |
Excrement, that's a point. Latest I have here is 5.2 B2 for the MM+. It would not hurt to flash the new one in, so I will do that and see if that cures the problem. EDIT: Nope. ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10201 |
Do you have an option lcdpanel set? You can't use spi2 from Basic if you have - see advanced features manual page 11. My Cfunctions use it through the backdoor. See the other thread for three working variants |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3282 |
Configuring the touch or the SD card will also make SPI2 unavailable. Geoff Geoff Graham - http://geoffg.net |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2428 |
geoff: would it be possible to change the error messages to something like "Error: SPI2 unavailable"? and similar error messages could be used for attempts to use or configure other pins that have been reserved by the MMbasic interpreter. cheers, rob :-) |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3282 |
Yes, good point. Geoff Graham - http://geoffg.net |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |