Shop OBEX P1 Docs P2 Docs Learn Events
Catalina - C and Lua for the Propeller 1 & 2 - Page 26 — Parallax Forums

Catalina - C and Lua for the Propeller 1 & 2

1202122232426»

Comments

  • RossHRossH Posts: 5,779

    @FredBlais said:
    For the SD, it is just because I was not able to get it to work with FAT volume starting at 2048

    I can confirm the SD card functionality now works. I have had a bit of a play, and have a few quick comments:

    1. Your tutorial example ("Blink a no-PSRAM P2 Edge LED on pin 56") should not use pin 56. On a P2 Edge it should use pin 38 or 39.
    2. The examples don't work in the no-PSRAM version - it reports that module p2 is not found. However, they do work in the PSRAM version.

    I execute berry using Catalyst (much quicker and easier than either serial or flash loading). Another reason is that berry is supposed to accept command line parameters, allowing users to execute berry programs from the Catalyst command line, such as:

    berry blink.be
    

    This means that you can save the examples into files (e.g. using vi in Catalyst). But your berry executables are compiled with the Catalina NO_ARGS option, which disables command line arguments. Is there a reason for this?

    I can still use files by saying in berry (for example):

    blink = compile('blink.be','file')
    blink()
    

    This works, but it is a bit cumbersome!

    Ross.

Sign In or Register to comment.