Search results

  1. A

    Arduino & Processing Code for d/l

    Greetings to all! I have recently ended about 6 years of Arduino and Processing activities. At 78 the moist sponge between the ears is drying out and I've retired from many activities. I had an amazing apartment machine shop and Arduino-centered "lab". Had lots of fun, lots of frustration...
  2. A

    Sample code using GPIO?

    MarkT - Noob apologies! I FINALLY took a look at digital.c and found out that it appears "Arduino-style" ports are being implemented through Teensy GPIO port settings. !!! More of the genius of Paul and the Teensy IDE.
  3. A

    Sample code using GPIO?

    Mark - I have loaded the .c file into MS Visual Studio 2019 - my primary IDE. I haven't worked with plain .c files in this environment - so will figure out where to save it. Lotta good stuff! So how do I subscribe to the developer's project? I went to the utasker.com site and tried to join...
  4. A

    Sample code using GPIO?

    Mark - those macros are a great guide! I can get the 'sense of things' from them - will be a big help moving on. Have bookmarked your links and will be trying out the HEX code soon. THANKS! =Alan R.
  5. A

    Sample code using GPIO?

    Mark - rest assured I'm well aware there is no real 'easy' route to the ARM-spec'd SoC chips. A few years ago a tried to get into some of the code available from MBED and NXP IDE kits. It was pretty daunting and I sorta... fell by the wayside. Have a couple of development boards gathering...
  6. A

    Sample code using GPIO?

    uTasker- many thanks for the link. Having worked long with the simplistic Arduino world - the depth and detail available in these powerful chips is quite stunning. Sadly - just telling a new user to "the details are in the datasheet" is like telling a new med student - "the details are in...
  7. A

    Sample code using GPIO?

    Kurt - I have chapter 11 printed out - but missed 9&10 - will dig into those. And I didn't know WHERE to look for the code for pinMode was - digital.c. That will be a help too. The IMXRT pdf is so huge and has so much stuff it is tricky to sift out the parts one needs for a given task. The...
  8. A

    Sample code using GPIO?

    ... an just a snarky "you were already told" does not help much! :mad:
  9. A

    Sample code using GPIO?

    But I HAVE looked at the "reference manual" - I have it all printed out and it still is not clear out to SET UP the GPIO to actually use.
  10. A

    Sample code using GPIO?

    This is what I'd like to do: "Otherwise you will need to set all of the IOMUXC setting associated with the pin to setup the signal and the pad for appropriate usage. If you are interested in this, look at the sources for pinMode. Then you need to read the current values for the pins, like...
  11. A

    Sample code using GPIO?

    Could somebody point me to a link or code sample of setting up and using GPIO functions in a Teensy 4 or earlier. I've gone over the datasheet and see the functions, but a bit unclear on how to set it up - how to specify what GPIO section and setting pins... Hoping to read a full 32 bit...
  12. A

    Does T4.0 have PORTS - like read 8 pins at once?

    Yikes! Guess I'll need to do some digging. I have been LONG fascinated by the ARM concept/processors - I have had the M4 datasheet for some time and now have the IMRX "sheet" (a mere 3400+ pages!). I printed out select sections that seem most useful for "everyday" kind of stuff and have the...
  13. A

    Does T4.0 have PORTS - like read 8 pins at once?

    Being quite new to the Teensy world - what is GPIO[6,7,8,9] referring to? Are those just pin numbers or some port combo? (been doing Arduino for number of years but just getting feet wet with Teensy) Just pulled down the EXCELLENT color diagram of the T4.0. Could use a little clarification on...
  14. A

    Does T4.0 have PORTS - like read 8 pins at once?

    Thanks - that will give me a good start.
  15. A

    Does T4.0 have PORTS - like read 8 pins at once?

    Sorry if this is a tad basic - I've been away for about a year and have gotten a bit rusty! I want to read Bourns EAW ACE128 absolute encoder. The encoder provides 8 pins showing values which when evaluated with a map table of all the 256 possible pin combinations and how they map to the 128...
  16. A

    SlowSoftSerial library for slow baud rates

    Paul - very nice bit of code. This will be VERY useful to those who do Model 28 or 30 TTY interfaces. The 110 baud they ran at was not easy to get without some tricky bit-banging. �� ��
  17. A

    Display Panel Source

    Awdsome Editor Too! This company also provides an AMAZING editing package (Workshop4) that provides drag-n-drop widgets, and the code to run them is also created! The displays can be standalone or talk to Arduino, rPI, or whatever. The damn editor is a LOT of fun too! :D
  18. A

    Display Panel Source

    I have just found this company (4D Systems out of OZ): https://4dsystems.com.au/ They appear to have a really nice line of intelligent LCD displays. I just ordered one from Mouser... not cheap - but won't break the bank! =A.
  19. A

    Teensy 3.6 COM Port Conflicts with Other Device

    OMG! The Mac... Being "difficult"? Up until about 10 years ago (or so) I was an INSANE MAC BIGOT! :-) Back "in the day" one of the Mac calling cards was the ease of installation of software. And then there was the legendary "not hackable" period... I started with a Win XP machine to play...
  20. A

    mk20dx256vlh7 Equivalent of a Programming Manual?

    Did you look here: https://www.pjrc.com/teensy/datasheets.html =A.
  21. A

    Could RC Servos and PPM Library replace steppers???

    Have been browsing thru all the various libraries available here and just came across the PPM Library. My project was to move 4 steppers to follow a joystick which is indicating range and bearing of objects on a radar sim. The dial-displays driven by the motors/servos never rotate more than...
  22. A

    Where to d/l "IntervalTimer" lib?

    Hey! Thanks for the tip. So new to this AWESOME environment and there is so much to "relearn". :-)
  23. A

    Where to d/l "IntervalTimer" lib?

    I see it mentioned in the "Delay and Timing Functions" but do see a d/l link for it. Did a bit of surfing on Github - and MANY "Interval Timers" where found (!!) - but did not see one specifically for Teensy.
  24. A

    Using usb as serial port and for uploading code

    Thanks for those details. I’m just beginning to “get” the wonders of the Teensy world. Wish I’d woken up to it about 3years ago... would have saved a lot of grief… LOL!
  25. A

    Using usb as serial port and for uploading code

    WOW! How does that work? Is there a version of Processing for ARM/Cortex?
  26. A

    Using usb as serial port and for uploading code

    I'm sure this is explained somewhere here - but haven't found it yet! My project will be with a Teensy3.5 and I'd like to use the USB connector with which code is uploaded as a serial port for the sketch the chip is running. I currently use a CP2104 to get usb/serial data from a Processing...
  27. A

    Question on TeensyDuino libraries

    I had 1.47 installed and all was working. But I did NOT install any of the included libraries as I have a rather LARGE collection from regular Arduino work. On the install of 1.48 I let all the libraries supplied load - and now getting dupe lib errors. Should I just delete all the ones in the...
  28. A

    How can I see what version of Teensyduino I have installed.

    OK - know I have most resent Arduino - just didn't know where to look for Teensyduino version. I generally work with MS Visual Studio so don't always see that panel. THANKS!
  29. A

    How can I see what version of Teensyduino I have installed.

    It seems to blend in very nicely with the Ardunio IDE... not sure where to see what version I have. :-)
  30. A

    Teensy4 IntervalTimer Channels Problem

    @Quadrupel - where did you insert the startup patch in startup.c - that is a VERY busy file - don't want to break it. Also - I'm keeping a copy of the original..
  31. A

    Teensy4 IntervalTimer Channels Problem

    awesome forum Yes - I totally agree! New T4 user been on just a week or so - just beginning to see the depth that is here.
  32. A

    Bit math: Why isn't bitClear,bitSet and similar READABLE functions used more?

    BTW - as far as 'bloat' goes using bitClear() or bitSet) - I got a disassembly listing on a Teensy4/Teensyduino test script (in VisualStudio 2019) - and each of those took ONE line of assembly code. And everybody seems to be talking about drivers and libraries - they are yet another animal. Not...
  33. A

    Bit math: Why isn't bitClear,bitSet and similar READABLE functions used more?

    Well @quadrupel - you may have a beard grayer than mine - but I STILL disagree. Perhaps in a heavy duty commercial programming environment... but for many Arduino and Teensy users I think the readability wins out. BTW - this “discussion” has been going on for years as evidenced by the...
  34. A

    Bit math: Why isn't bitClear,bitSet and similar READABLE functions used more?

    Sorry- do not agree with your assessment. Every bit manipulation that can be done with the operators can be done with the functions. And I would not mind see several lined of such functions as I would know at a glance what is being done. Readability in code is Paramount, along with copious...
  35. A

    Bit math: Why isn't bitClear,bitSet and similar READABLE functions used more?

    I've been programming about 40 years (GAK!) and still have not gotten used to the rather 'formal' definitions like uint32_t (which I 'get' while that is useful) but I'm still wondering about the rather arcane bit-math syntax: 1<<2 or 3&2>>4.... and so on & on that seems to be de rigueur...
  36. A

    Teensy4 IntervalTimer Channels Problem

    Even after just digging into T4 (have has a 3.6 but never got the “round-to-it” to begin learning. The higher price of the 3.6 kept me out of the game, but going forward the T4 is only slightly more than Pololu AStar 32u4 boards.... so have become a def Teensy convert. &#55357;&#56832;
  37. A

    Teensyduino Library location

    Ah - thanks for clearing that up. So I will be able to just keep my Teensy libs separate. I'm sure other more active developers have a bigger library problem than a hundred, but the 'library' folder with only one level get a bit cluttered. :-)
  38. A

    Teensyduino Library location

    I see Teensyduino has it's own library location apart from the Arduino libraries. I have about a hundred Arduino libs and would rather not dupe them into the Teensyduino folder. I'd like to keep Teensy-only libs there - is there any way to add a search path so the IDE can check both places for...
  39. A

    Teensy 4.0 - is programmable / debuggable with Atmel Studio 7 ?

    Hey - Have not heard of PlatformIO - will def check it out - THANKS!
  40. A

    Teensy 4.0 - is programmable / debuggable with Atmel Studio 7 ?

    Um - I have been using MS Visual Studio (from v2015 to now v2019) along with VisualMicro) for several years for all my Arduino work. Now T4 (as do other Teensies) is working pretty good with VS/VM. I think the secret may be in VisualMicro (a software debug system- http://bit.ly/2ZoTkD8 - QUITE...
  41. A

    Learning to appreciate T4! What about function docs?

    Thanks Paul. I did take a pass at the T4_Beta forum. Quite a display of an impressive array of skills, dedication & effort I must say. Will make for a good study. I think I’ve been away from the Arduino a bit too long and got wrapped up in all the ST stuff. Sorta forgot all the previous efforts...
  42. A

    Learning to appreciate T4! What about function docs?

    Thanks Paul! In the Arduino IDE all the register names were defined and they could be used in code. The Timers come to mind, as they generally had to be configured by setting various bits in the registers. So - I’m wondering if you have provided some similar include file with all (!) or at...
  43. A

    Learning to appreciate T4! What about function docs?

    Yes - i'm well aware of that 3k page 1060 doc ( as you have mentioned last time I tried to ask this). I have it d/l and looked at it - Very impressive chip! SO - since the Arduino never had a real time clock capability how am I to know how to code this function? Do I pour thru the T4_beta...
  44. A

    Learning to appreciate T4! What about function docs?

    After beating my head against the STM/HAL wall - I'm beginning to enjoy the simplicity of Teensy/Ard IDE. Naturally this VERY advanced chip has a ton of functions not available in any other ARM chip. I'm trying to find out what functions ARE available, and to that end have downloaded the core...
  45. A

    Any ref docs for Teensyduino?

    Ok - so the answer is: There are no special functions in Teensyduino - it is just Arduino ported to ARM and if you want anything other than that - you find a library - or make one yourself. :-) Sounds good!
  46. A

    Any ref docs for Teensyduino?

    Ok - but that is not what I was looking for. I have those manuals - even the 3300+ page one for the chip on the T4! What I'm hoping to find are the non-Ardunio functions that Teensyduino has added. For example: In Arduino, some common functions are: digitalRead(), analogRead(), delay()...
  47. A

    Any ref docs for Teensyduino?

    The Teensy's (and esp T4) bring a host of new capabilities to the "performance-starved" Arduino user. :-) Just wondering if there is any reference listing of the non-Arduino (ARM?) functions that Teensyduino brings to the table. Processing 3 has a link in the Help tab that takes you to a...
  48. A

    Voltage levels? - (Teensy noob not wanting to blow new T4!)

    Greets! I have made a search of posts but haven't found anything... I fully understand "Not 5V compliant" pins is not to be trifled with - so just to be sure - if I want to use the T4 to access other boards (Like CP104 USB-to-Serial) should I get a bunch of decent level-shifters and have...
  49. A

    Can ARM peripherals be accessed in the Teensy family?

    Ok. As I said- guess I brought my question to the wrong forum. I had no real idea how the Teensy was set up to make life a bit easier vis the Arduino IDE. I’m sure that will be a great help as I tackle the T4.
  50. A

    Can ARM peripherals be accessed in the Teensy family?

    I hear ya Paul! But I’m not trying to do any specific project at this point- just interested in how one uses the HAL libraries with the ARM chips. I don’t mind rooting thru those docs. - have a number of them printed out in 3-ring binders (but NOT the monster 3.3k pages of the RT1060!). I think...
Back
Top