![]() |
Forum Index : Microcontroller and PC projects : Micromite V4.7 Beta 11
![]() ![]() |
|||||
Author | Message | ||||
piclover Senior Member ![]() Joined: 14/06/2015 Location: FrancePosts: 134 |
I'm not at all "hooked" to the PIN(0) method and would definitely prefer to be able to select the reference I need (AVdd, or 1.2Vref, or an analog pin) instead... |
||||
srnet Senior Member ![]() Joined: 08/08/2014 Location: United KingdomPosts: 164 |
Similar problem affecting COM2 port. You can open COM2 and close it, but if you try to open it again (in the same program) you get; [3] Open "COM2:9600" As #1 Error: Pin 30 is in use $50SAT is Silent but probably still working. For information on LoRa visit http://www.loratracker.uk/ |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6284 |
COM1: is OK. Trying to use "SETPIN x, OFF" also results in a Pin in use error. If you try to PRINT to the port after closing you get an error so at least part of the CLOSE command is working... open "com1:" as #2
print "COM1 opened" close #2 print "COM1 closed" open "com1:" as #2 print "COM1 opened" close #2 print "" open "com2:" as #2 print "COM2 opened" close #2 print "COM2 closed" open "com2:" as #2 print "COM2 opened" close #2 results in: RUN
COM1 opened COM1 closed COM1 opened COM2 opened COM2 closed [17] Open "com2:" As #2 Error: Pin 9 is in use > Jim VK7JH MMedit |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10316 |
Gents You shouldn't be using b11 - there are other major problems which Geoff is aware of. Use b8 until Geoff has had a chance to issue a new beta |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |