jim lee
Reaction score
3

Latest activity Postings About

    • jim lee
      So the 4.x optimisations are mixed in with the old 3.2 stuff? Sigh.. I'm currently using teensy 1.59 & the 1.8.19 IDE for writing this stuff. I'd figured I was back far enough. Guess not. I totally understand why you are not interested in...
    • jim lee
      Well, this doesn't even use the Serial stuff. And it has the error. So this can't be right. void setup() { float x = atof("4.3"); } void loop() { }...
    • jim lee
      It's not the warning I'm worried about. It's the compile error below the warning.
    • jim lee
      Randomly getting this error message. (Yes randomly, changing random things in the source causes it to come and go.) Here's the error...
    • jim lee
      Yes, I know. But in this case I have no say in the matter. Some are specced for int32_t and some are insisting on int64_t. I notice that the instruments that I'm using to display the values (marine applications) are using the int32_t versions of...
    • jim lee
      Like I said it was late and I was tired. Just because the function is declared in the .h file doesn't mean I don't need to actually write it in the .cpp file. Thanks again for the help. What you were all telling me pointed me in the right...
    • jim lee
      What's going on. This is converting GPS data (read in as text string) to NMEA2000 data packet. (binary) They are looking for latitude/longitude in degrees. Then multiplied by 10^16 and stuffing the result into a signed 64 bit integer. Kinda'...
    • jim lee
      Ok got one more issue.. int64_t the compiler thinks its a "long long" ? How can I bailing-wire together an int64_t? Is it even possible?
    • jim lee
      Well, the speed should be fine for this. I only need to calculate it twice per second. As for the 4.x teensy? I'm getting there. I only have about 1/2 dozen 3.2 teensy's left. Then I will be switching over. P.S. Thanks for letting me know the...
    • jim lee
      Thank you!
    • jim lee
      Actually, I see that it's listed as 32 bit processor. Do I need to use double to get the precision? I have some picky math in my immediate future. -jim lee
    • jim lee
      Does it do 32 bit math operations? Or just 16 bit? I think Arduinos typically only do the 16 bit stuff. Many thanks! -jim lee
    • jim lee
      jim lee replied to the thread Teensy 3.2 serial2 question...
      Wait, I tried switching it over to serial3, nothing. So I removed the added serial device all together. Nothing. I'm sorry to have bothered you guys. I obviously have something else going on here. Maybe I cooked one of the SPI pins messing about...
    • jim lee
      jim lee replied to the thread Teensy 3.2 serial2 question...
      Thanks. But that isn't working either. I have pin 7 free and I can move move pin 8's wire to pin 6. This'll leave Serial3 free of anything. I think I'll try that for now. -jim lee
    • jim lee
      jim lee replied to the thread Teensy 3.2 serial2 question...
      That still seems to get in the way of the SPI port. (That likes to use pins 9 & 10 as chip select) Or maybe I'm doing it wrong? Serial2.setRX(26); Serial2.setTX(31); Serial2.begin(9600); -jim lee
    • jim lee
      The pinout picture shows Serial2 can be 10 & 9 -or- 26 & 31. How can I select the 26 &31 set as opposed to the 9 & 10 set? Thanks! -jim lee
  • Loading…
  • Loading…
Back
Top