Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: econjack

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. I'm using the 5" RA8875 display in an SDR....

    I'm using the 5" RA8875 display in an SDR. Because I may try to take this transceiver "to the field", I'd like to shut the display off when it's not really needed. I tried sleep(), but for me,...
  2. Replies
    26
    Views
    1,245

    I did place it in the correct folder...I was just...

    I did place it in the correct folder...I was just checking. Thanks!
  3. Replies
    26
    Views
    1,245

    Paul: Are you saying that the file should only be...

    Paul: Are you saying that the file should only be placed in the Teensy3 directory; that the T4's are okay?
  4. Replies
    26
    Views
    1,245

    Perhaps not for the LC, but I didn't want others...

    Perhaps not for the LC, but I didn't want others to think the T4.1 had the issue.
  5. Replies
    26
    Views
    1,245

    SOLVED: It was a flat forehead mistake. I was...

    SOLVED:

    It was a flat forehead mistake. I was out of sync with the put() and get() because I had buried one of the calls inside another EEPROM call. I broke my own rule of making each function...
  6. Replies
    26
    Views
    1,245

    That's the problem. I write a small test program...

    That's the problem. I write a small test program like this:



    #include <EEPROM.h>
    #define ARRAY_SIZE 5

    struct {
    char aString[10];
    int val;
  7. Replies
    26
    Views
    1,245

    Still having problems with EEPROM. It appears...

    Still having problems with EEPROM. It appears that all of the discrete variables are stored correctly and at the correct relative addresses. However, aggregate data types always come back as 0 even...
  8. Replies
    26
    Views
    1,245

    Thanks, defragster. I must be doing something...

    Thanks, defragster. I must be doing something wrong with the EEPROM, then. Pretty simple stuff. I just have a large structure and using put() and get() to EEPROM. Hopefully it will be a flat forehead...
  9. Replies
    26
    Views
    1,245

    I'm developing a Software Defined Transceiver...

    I'm developing a Software Defined Transceiver (SDT) for amateur radio:
    24736
    and we need to store critical frequency and filter values in EEPROM lest we run amuck of FCC regulations. Has anyone...
  10. Replies
    2
    Views
    314

    Actually, my bad. I had a T4.0 and assumed that...

    Actually, my bad. I had a T4.0 and assumed that the flash memory size was the same for both T4 and T4.1. Sorry 'bout that!
  11. Replies
    2
    Views
    314

    T4.1 and free memory

    All:

    Just put pins on a new T4.1, loaded and compiled Blink, and the Stats Window in the IDE shows over 8Mb free! That seems unlikely, so I did something wrong. Ideas?

    Econjack

    23093
  12. Replies
    29
    Views
    2,561

    A good friend of mine worked in a Java shop and...

    A good friend of mine worked in a Java shop and preferred C over Java, but didn't have a choice. He complained "Java doesn't use pointers and wastes time doing boundary checks. It's like C with...
  13. Replies
    29
    Views
    2,561

    I still have my original K&R book...paid $8.95...

    I still have my original K&R book...paid $8.95 for it! Indeed, I became a convert to C because of that book and tried my best to "sell" it to others in the late 1970's. Honestly, I was not formally...
  14. Replies
    29
    Views
    2,561

    Thanks for the kind words...they are appreciated!...

    Thanks for the kind words...they are appreciated!

    Jack, W8TEE
  15. Replies
    29
    Views
    2,561

    I don't think C has "perfect" encapsulation in...

    I don't think C has "perfect" encapsulation in that function definitions still lay outside the structure. Static functions help, but only at the file level. Someone once said that C gives you the...
  16. Replies
    29
    Views
    2,561

    There's absolutely nothing wrong with only doing...

    There's absolutely nothing wrong with only doing programming when there's a task to be solved. Indeed, I also have another new book titled Microcontroller Projects for Amateur Radio...
  17. Replies
    29
    Views
    2,561

    The book really is a beginning C book. While I do...

    The book really is a beginning C book. While I do have a chapter on C++ and introduce the reader to the OOP Trilogy, I do it to show that parts of the Trilogy (e.g., Encapsulation) can be done within...
  18. Replies
    29
    Views
    2,561

    I do spend a complete chapter on good function...

    I do spend a complete chapter on good function design, with special emphasis on writing cohesive and non-coupled functions. You should ask yourself: What could I have done back then to make it easier...
  19. Replies
    29
    Views
    2,561

    The book is available on Amazon and I'm using my...

    The book is available on Amazon and I'm using my web site, SoftwareControlledHamRadio, as a repository for related files (e.g., answers to the Exercises). The cover has a Look Inside banner so you...
  20. Replies
    29
    Views
    2,561

    I looked on their site and saw style guidelines,...

    I looked on their site and saw style guidelines, but not an introduction to the language, which is what my book is.
  21. Replies
    29
    Views
    2,561

    It really depends upon your goals. If you're...

    It really depends upon your goals. If you're looking for a programming job, a good C++ book is probably the way to go. For those who intend to be "Project-oriented" programmers, I think C is a great...
  22. Replies
    29
    Views
    2,561

    New Programming Resource

    All:

    Most of you are seasoned programmers, but there's a significant knot of people here who are not. I am a retired professor from Purdue University's College of Technology and author of 20...
  23. Thanks, Michael! I did do a search, but did not...

    Thanks, Michael! I did do a search, but did not see these posts. I'll check these out...thanks again!
  24. T3.6 and T4 Compatibility problem with XPT2046 and Audio Shield

    It appears that T4 has a compatibility problem with the Audio Shield and the XPT2046 library. The library touch screen controller is hardwired to pin 11 for MISO and the audio adapter uses pin 11 for...
  25. Replies
    14
    Views
    1,911

    Where is the RP driver and which display uses it?...

    Where is the RP driver and which display uses it? And it works with the T4?
  26. Replies
    14
    Views
    1,911

    BuyDisplay has several larger displays, of which...

    BuyDisplay has several larger displays, of which we've used the 5" and 7" with the graphic image shown about. Both use the RA8875 library with the SPI interface. They downside is they are pretty...
  27. Replies
    14
    Views
    1,911

    mjs513: Thanks! The image above was used with the...

    mjs513: Thanks! The image above was used with the RA8875 library and it works well. I did not know that it had been updated for the T4. I have been following the work by KurtE, which strongly...
  28. Replies
    14
    Views
    1,911

    I have the T3.6 working with several displays,...

    I have the T3.6 working with several displays, but not the T4 with a 480x320 display. Here's an image of my use of a T3.6 with a 5" display:

    17761

    I could use the extra horsepower of the T4 if...
  29. Replies
    14
    Views
    1,911

    T4 with 480x320 displays?

    I want to use the T4 in a book project, but cannot seem to find a library for the higher-resolution (480x320) displays. I can use any of the ili9481 ili9468, ili9488, hx8357, or r61581 controllers,...
  30. Replies
    2
    Views
    795

    @Theremingenieur: Thanks for the information and...

    @Theremingenieur: Thanks for the information and link! It looks like I have some digging around to do...
  31. Replies
    2
    Views
    795

    Max I/O current for 4.0

    I'm sure this has been stated somewhere, but I can't find what the maximum current draw can be on a 4.0 I/O pin
  32. We ended up with a very nice DSP project as an...

    We ended up with a very nice DSP project as an addition to the µBITX amateur radio transceiver. The Teensy 3.6 and the audio board handle all of the touch screen tasks, digital processing, IF and...
  33. Replies
    8
    Views
    1,222

    I am using Teensy 3.6 under Win 10 and when using...

    I am using Teensy 3.6 under Win 10 and when using Arduino IDE 1.8.7, my code (fairly large at 210K) compiles just fine. However, if I attempt to compile the same project with Version 1.8.8, it aborts...
  34. Replies
    2
    Views
    629

    Thanks, Paul. I did not know that. I was pretty...

    Thanks, Paul. I did not know that. I was pretty sure it would be a flat-forehead mistake...
  35. Replies
    2
    Views
    629

    Teensy 3.6 EEPROM issue

    I am using a Teensy 3.6 under Win 10. No matter what variable I try to write to EEPROM, its value is not coming back correctly during a read. The following short program illustrates my problem:

    ...
  36. defragster: Thanks for noodling my problem. I do...

    defragster: Thanks for noodling my problem. I do have one interrupt in the code which works in conjunction with a rotary encoder, but that interrupt does not come into play with anything in the...
  37. I have a list of symbolic constants for all of...

    I have a list of symbolic constants for all of the variables that are kept in EEPROM. The "factory settings" start at offset = 200 while the "user settings" are offset = 400. The screen calibration...
  38. Michael: Actually, I'm just using the union to...

    Michael: Actually, I'm just using the union to abstract from the Endian problem, if any, across platforms. Another discovery today: using this to work with the same union as above:



    ...
  39. Paul: I have been tracking a "bug" for three days...

    Paul: I have been tracking a "bug" for three days now (I'm not that good) and it concerns writing/reading EEPROM. I have a union:


    union {
    byte array[6];
    int num;
    long bigNum;
    float...
  40. Thanks, Paul. I should be okay with the default...

    Thanks, Paul. I should be okay with the default settings.
  41. Since the EEPROM is simulated in Flash, what is...

    Since the EEPROM is simulated in Flash, what is the approximate write cycle lifetime for the EEPROM on the 3.6? My application is used in an amateur radio application where I need to store frequency...
  42. Replies
    0
    Views
    519

    RA8875 with 3.6 and touch debounce

    I am using the 5" display (resistive) from East Rising with the RA8875 library and have it working...sort of. The problem is that when I touch a button, it responds correctly, but then quickly reads...
  43. Replies
    6
    Views
    1,956

    I have the RA8875 library working with 3.6 using...

    I have the RA8875 library working with 3.6 using a 5" resistive touch screen and everything works pretty well. However, whenever I draw a YELLOW rectangle, the top, bottom and left legs are YELLOW,...
  44. Replies
    15
    Views
    4,858

    Thanks, Defragster. We are still experimenting...

    Thanks, Defragster. We are still experimenting with the 2.8" but it's a little "dense" for all the stuff we're sticking on the display. We're also testing the idea of paging in a second page for...
  45. Replies
    15
    Views
    4,858

    I find this puzzling. As popular as the Teensy...

    I find this puzzling. As popular as the Teensy 3.5/6 are, other than Paul's display (which I have), I cannot get any vendor to say they have a graphics library that works with their display. First, I...
  46. Replies
    15
    Views
    4,858

    Michael: I replied once and thanked you then, but...

    Michael: I replied once and thanked you then, but I don't see it here. Anyway, I have since ordered one and we'll see how it works out. Thanks again!
  47. Replies
    15
    Views
    4,858

    Thanks, Michael. I'll give one a try.

    Thanks, Michael. I'll give one a try.
  48. Replies
    15
    Views
    4,858

    I've been looking for a Teensy 3.5 (or 3.6)...

    I've been looking for a Teensy 3.5 (or 3.6) library for a 3.5" 480x320 display or the 5" 800x420 display from BuyDisplay.com. I do have Paul's display and library, but I want to use a touch screen...
  49. Thread: No COM port

    by econjack
    Replies
    5
    Views
    1,156

    I have seen code similar to that for the Due. ...

    I have seen code similar to that for the Due.

    Thanks, Kurt.
  50. Thread: No COM port

    by econjack
    Replies
    5
    Views
    1,156

    I did as you suggested and a COM port was...

    I did as you suggested and a COM port was available. I wrote a short program:


    void setup() {
    // put your setup code here, to run once:
    Serial.begin(9600);
    Serial.println("Hello World");...
Results 1 to 50 of 54
Page 1 of 2 1 2