Search results

  1. C

    Code security on Teensy 4.0

    Thank you Paul, it is all working well now.
  2. C

    Code security on Teensy 4.0

    I have installed Arduino 1.8.19 and used code security in that and now looks to be working ok.
  3. C

    Code security on Teensy 4.0

    I am using Visual Micro on Arduino 2 IDE. I have a lockable Teensy 4.0. I have generated a key and verified it. At this point my program runs ok. When I select Fuse Sketch and build it I get an error on the line #include <EEPROM.h> saying it cannot open the source file EEPROM.h, Why would that be?
  4. C

    Teensy 4.0 and 4.1 pin 16 input using assembler

    Thanks for your help it all works now.
  5. C

    Teensy 4.0 and 4.1 pin 16 input using assembler

    'Might need to set the SION bit. Will admit, it's been years since I wrote the earliest code. As I recall, input mode worked without it, but we still needed SION set for something. As you can see in the pinMode() source code, we're setting always the SION bit for GPIO usage on Teensy 4' I have...
  6. C

    Teensy 4.0 and 4.1 pin 16 input using assembler

    Hello, thanks for your reply, Sorry if it was not clear, the code I have shown is a test, I just want to make sure all the inputs are working. I am using platformIO IDE, the main.cpp file is: #include <Arduino.h> extern "C" void ASMprog(); void setup() { } void loop() {...
  7. C

    Teensy 4.0 and 4.1 pin 16 input using assembler

    Hello, I am using a Teensy 4.0 to read a 10bit ADC. I am using pins AD_B1_00 to AD_B1_11(AD_B1_04 and AD_B1_05 are not available on Teensy 4.0) as data inputs. I am reading the ADC in assembler for maximum speed. I am having trouble setting up pin 16 as an input. I can set up all the other...
Back
Top