Basic compiler MachiKania type P for PicoCalc

You are welcome!

Here is another example. Thank you, n602_na!

BU-MachiKania-2

4 Likes

Now have good reason to test LSM9DS1
iNEMO inertial module with 3D accelerometer, 3D gyroscope, 3D magnetometer, temperature…

1 Like

Can not find reference for SETPIN in *-e.txt files

Can you please let me know what is *equivalent in MachiKania Basic compiler?

SetPin gp4, gp5, I2C
I2C open 100, 200

*example from MMBASIC

It seems that I2c is not in reach on the PicoCalc side connector….

According to the phyllosoma/PicoCalc at main · machikania/phyllosoma · GitHub

Port assignment

The I/O ports are assigned as follows:

GP0 I/O bit0 / PWM3 / I2C SDA / button1 (UP)
GP1 I/O bit1 / PWM2 / I2C SCL / button2 (LEFT)
GP2 I/O bit2 / PWM1 / button3 (RIGHT)
GP3 I/O bit3 / SPI CS / button4 (DOWN)
GP4 I/O bit4 / UART TX / button5 (START)
GP5 I/O bit5 / UART RX / button6 (FIRE)
GP6 I2C1_SDA (Keyboard)
GP7 I2C1_SCL (Keyboard)
...

EDIT

Please ignore question, have discovered INI file :stuck_out_tongue:

1 Like