Armmite - STM32H7: Developments


Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 3714
Posted: 05:41am 11 Jun 2018      

Today's progress. I have started mapping the CPU pin numbers (which MMBasic) uses to the descriptions that the connector diagrams use.
Starting with the blue push button and the red and blue LEDs.
  Quote   'nucleo tests
SETPIN 7, DIN ' pushbutton 1 (Blue)
SETPIN 137, DOUT ' blue LED
SETPIN 75, DOUT ' red LED
DO
x =
PIN(7)
PIN(137) = x
PIN(75) = 1 - x
'PRINT x
PAUSE 100
LOOP


Not very exciting stuff but it does confirm that my reading of the schematics is correct.

I have also learnt to wait while doing a NEW or saving programs. If you don't wait the 5 seconds it takes for the prompt to appear, you will be reaching for the reset button!

Jim

It all started with the ZX81....
VK7JH
http://www.c-com.com.au/MMedit.htm