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

Search:

Type: Posts; User: keithg

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    2,418

    I was able to resolve my issues by putting only a...

    I was able to resolve my issues by putting only a boolean variable in the ISRs and all other activities in the main code in an if statement for when the flag is set.

    To speed up the SD card and...
  2. Replies
    5
    Views
    2,418

    Actually, those are only changed when the program...

    Actually, those are only changed when the program is not running. They are not dynamic variables. Do I still need to declare them as volatile even though they do not change?

    I am using a...
  3. Replies
    5
    Views
    2,418

    IntervalTimer/ISR question

    I know the ISR must run quickly and have tried to make them small. I have some code running, currently, and do not have consistent run times. My guess is I am trying to do too much in the ISR. Can...
  4. Replies
    11
    Views
    10,659

    I get it now. If I disable interrupts, I have...

    I get it now. If I disable interrupts, I have trouble with many of the functions I am trying to use as well as cannot upload code. disable/enableInterrupt is what I have done and things are working...
  5. Replies
    11
    Views
    10,659

    Yes, I have volatile variables. yes it works, I...

    Yes, I have volatile variables. yes it works, I just cannot use cli and sei to disable interrupts. the only way the interrupt gets disabled is if I use attachInterrupt and detachInterrupt

    I'll...
  6. Replies
    11
    Views
    10,659

    I'm struggling with this as well. Running a...

    I'm struggling with this as well. Running a Teensy 3.2.

    I have a GPIO ISR which is reading a pin and gets the time (millis()) when it goes low. All works just fine except cli() and sei() do...
  7. Paul, Thanks! That was it. I removed all the...

    Paul,

    Thanks! That was it. I removed all the libraries I am not currently using from the libraries directory and now they compile. We will now see if I can write a file to the SD card!

    Keith
  8. Trying to get SD capability going as well. I have...

    Trying to get SD capability going as well. I have Arduino 1.6.7 installed and teensyduino 1.27. When I try to compile any of the examples, I get compile errors. To duplicate, grab the example...
  9. Replies
    23
    Views
    16,242

    A couple questions on this old thread. I looked...

    A couple questions on this old thread. I looked at the github files. Does the target-teensy_3_1 work with the 3.2 as well? Also, If I have a fairly large Mbed LPC1768 project I have been working on...
  10. Anything new on this functionality? The...

    Anything new on this functionality? The pins_teensy.c has become a bit more complicated in the last year and I am unsure of how to implement this.. Can Paul add this? Is there a reason it is not...
  11. Replies
    10
    Views
    5,928

    Do you have a link to your work on Teensy EMS? I...

    Do you have a link to your work on Teensy EMS? I have not found it via google search...

    Keith
  12. Replies
    10
    Views
    5,928

    hellandsen, I am considering a similar but...

    hellandsen,

    I am considering a similar but much smaller and less complicated project and would like to look at your code, if possible.

    The project is mapped timing: 2d lookup of advance. (much...
  13. Replies
    166
    Views
    97,334

    whollender's board looks awesome, but is probably...

    whollender's board looks awesome, but is probably overkill for me. I'm more interested in making a DAC and, following this, an ADC (Based on the PCM1803).

    Is there any interest in this board with...
  14. Can we set pin mode using GPIOx_PDIR as well? I...

    Can we set pin mode using GPIOx_PDIR as well? I ran across this in my adventure converting this mbed code and it appears that they use something similar. On the Teensy 3.x, do these commands...
  15. I am pretty novice at all this, but am converting...

    I am pretty novice at all this, but am converting over an mbed LPC1768 project to Teensy 3.1. It is a can/bdm project. I am in the process of wading through the code and changing it over to Teensy...
  16. Replies
    166
    Views
    97,334

    @ kpc I did some testing tonight. I did not...

    @ kpc

    I did some testing tonight. I did not have a spare SD cars, so no grabs. I did photo the scope. Will try to do it again tomorrow. I will need help interpreting. 2 pics attached. 1 of the 2...
  17. Replies
    166
    Views
    97,334

    @kpc Update. I got the boards back and...

    @kpc

    Update. I got the boards back and soldered one together tonight. It 'works', but there is a huge 60Hz buzz when I touch the ground (USB shield for example).

    Did a little checking and I...
  18. Replies
    358
    Views
    191,479

    Me too. I ordered the boards and will put one...

    Me too. I ordered the boards and will put one together when I receive it. I also am having trouble finding the sd card socket... No on DigiKey, SparkFun, AdaFruit and Newark... Any hints?

    As the...
  19. Replies
    166
    Views
    97,334

    kpc, I changed the pads to be like the example...

    kpc,

    I changed the pads to be like the example 3. I did not make that 'final touch' change, though, as I forgot before I sent it off. I'll not be using the external 5V, though. We have a...
  20. Replies
    166
    Views
    97,334

    kpc, You rock! I am sure I did not comprehend...

    kpc,

    You rock! I am sure I did not comprehend all of it, but definitely have a little bit better understanding of this complex process. Also, thanks to the forum for bearing with me here. I will...
  21. Replies
    166
    Views
    97,334

    kpc, Thanks again. I think I follow most of...

    kpc,

    Thanks again. I think I follow most of your suggestions, but a couple have me stumped.
    "but as there are now 4 C's at the output close together, I would move one of these C' as a 10/100nF...
  22. Replies
    166
    Views
    97,334

    kpc. The Gerbers are attached. One thing that...

    kpc.

    The Gerbers are attached. One thing that was not clear to me was if I should connect the charge pump to the digital ground or the analog ground. I have it on the digital. Also, the low noise...
  23. Replies
    166
    Views
    97,334

    kpc, Thanks for the help. I have not had time...

    kpc,

    Thanks for the help. I have not had time to work on it. Maybe this weekend. I spoke too soon, though. I do not think I have to rotate the part, but do have to move the regulator to the other...
  24. Replies
    166
    Views
    97,334

    kpc, Thanks for the instruction. I really...

    kpc,

    Thanks for the instruction. I really appreciate it. Yes, this is a dedicated digital to analog device (playback only). No analog in to deal with.

    My (faulty) logic was to split the ground...
  25. Replies
    358
    Views
    191,479

    This is great work. I just ordered the board from...

    This is great work. I just ordered the board from OSHPark. I'll start putting together when I get it.

    I am converting an mbed project over to Teensy 3.1.

    Just4Trionic

    This library will make...
  26. Replies
    166
    Views
    97,334

    @kpc Thanks for the reply. I am an ME with audio...

    @kpc
    Thanks for the reply. I am an ME with audio interests, so I am a bit light on the theory and experience for board layout. I did not get that analysis from the published graph of only 14.3 bits,...
  27. Replies
    166
    Views
    97,334

    Paul, I recently made some boards to interface...

    Paul,

    I recently made some boards to interface a pcm5122 to a Raspberry Pi. I read this comment and am wondering if I need to add this level of complexity. I do not believe the i2c is used except...
  28. Replies
    2
    Views
    2,858

    I believe that is what is happening. I have seen...

    I believe that is what is happening. I have seen mention of doing some wait command on the serial port. Is that what is appropriate here? I intend to run the code currently with the serial port for...
  29. Replies
    2
    Views
    2,858

    Processing, USB Serial and Teensy 3.0/3.1

    I have an arduino running a sketch controlling a heater. I also have a Processing sketch to graph the output. I want to move this to a Teensy 3.0. I have set everything else up on the Teensy 3.0...
  30. Replies
    46
    Views
    39,183

    Can anyone post a simple recipe to get this going...

    Can anyone post a simple recipe to get this going on a teensy 3.0? I am not savvy enough to figure this out, but want to see if it may be a solution for a simple/small ethernet connected device. If...
  31. Replies
    0
    Views
    2,396

    Teensy 3 clock code change

    Paul,

    I have been using this code for a while to set the time on my teensy 3 clock. Just upgraded to 1.0.5/teensyduino(current as of 6/13/2013). Tried to compile this code and it fails:

    ...
  32. Need pointers in converting a program from mbed to teensy 3

    I have built 2 teensy 3 projects and am really enjoying working with this board. Now I am looking at converting an mbed project to teensy 3.0. Is this possible? Are there any pointers that may be...
  33. Replies
    18
    Views
    21,030

    Paul, No, I do not. When I added 4.7k pullups,...

    Paul,

    No, I do not. When I added 4.7k pullups, it all came back.

    Thanks! I figured it was something I was doing wrong.

    Keith
  34. Replies
    18
    Views
    21,030

    Paul, I use the New Liquid Crystal library and...

    Paul,

    I use the New Liquid Crystal library and a PCF8574A to control a display. I hope it is not a mistake I made, but this code compiles and runs correctly on Beta 11+Arduino 1.0.3 but not with...
  35. D'oh! Sorry for the sideshow. I was using a...

    D'oh!

    Sorry for the sideshow. I was using a pin which is not PWM capable...

    Now I can get it to work, but have to redefine the pin when I use it as digital or PWM. I get it now.

    Keith
  36. Need help with analogWrite and digitalWrite on same pin

    Group,

    I have ported a working sketch from Arduino to Teensy 3.0. All of it works beautifully except when I try to get a PWM output from a pin. It seems I am behind the times because this simple...
  37. Digging up an old thread. I have a sketch...

    Digging up an old thread.

    I have a sketch that needs to turn a pin full on (digitalWrite) then in another mode, it needs to be a PWM (analogWrite). It worked on an Arduino, but analogWrite...
  38. Replies
    17
    Views
    14,723

    Paul, I am not really sharp at diagnosing the...

    Paul,

    I am not really sharp at diagnosing the syslog stuff... Now, it is a bit variable. SOmetimes it will reboot on the 12th time, others it tries 50 times and quits. I am reloading the blink...
  39. Replies
    17
    Views
    14,723

    Michael, I neglected to mention that. It its...

    Michael,

    I neglected to mention that. It its still intact and present. I also restarted udev and arduino. Same result.
  40. Replies
    17
    Views
    14,723

    Paul, It seems to work here with the one...

    Paul,

    It seems to work here with the one sketch I have tried. I have another project at work and will try it tomorrow. The only thing I notice is that auto reboot no longer works on the laptop I...
  41. Replies
    0
    Views
    1,742

    Errors during code load Ubuntu 12.10 x64

    I recently updated a laptop to 12.10 from 12.04. This always worked flawlessly on 12.04. With 12.10, sometimes it will load, but mostly, it takes a while then I get 49 attempts then it asks me to...
  42. Replies
    16
    Views
    7,352

    That has not been my experience. I am running 64...

    That has not been my experience. I am running 64 bit Ubuntu. I have not added any 32 bit libraries that I am aware of.

    My convoluted install process: I originally installed the ubuntu package...
  43. Paul, Is there any plan to have INPUT_PULLDOWN...

    Paul,

    Is there any plan to have INPUT_PULLDOWN functionality similar to the INPUT_PULLUP?

    Keith
  44. Replies
    2
    Views
    5,453

    Thanks for the tip. It wasn't the ground. Even...

    Thanks for the tip. It wasn't the ground. Even without the scope ground connected, it would run when I touched the scope probe. I put a 0.01 uf cap to ground on that lead and it works consistently,...
  45. Replies
    6
    Views
    3,080

    This appears to be user error. :o I was...

    This appears to be user error. :o

    I was working on it yesterday and noticed that there was a windows info box behind the IDE and in it I could tell windows to quit looking for a driver. Once I did...
  46. Replies
    6
    Views
    3,080

    I tried this on another laptop today which is XP...

    I tried this on another laptop today which is XP (home is all Linux and work is all windows) and had no issues programming the Teensy 2. It auto-rebooted every time. This just seems to be with Win7...
  47. Replies
    2
    Views
    5,453

    Teensy 2.0, Attach interrupt question

    Group,

    I have converted a sketch which I was running on an Arduino Mega to teensy 2.0. Most everything works, but I am having a strange problem and wanted to make sure I was coding the interrupt...
  48. Replies
    4
    Views
    4,774

    Alexander, I believe the teensy3 can provide...

    Alexander,

    I believe the teensy3 can provide 9mA of current on an output pin from what I read here. That opto may work, but it looks like it is rated at 10mA. On the drive side, it can only drive...
  49. Replies
    6
    Views
    3,080

    win7 x64 will not auto-reset

    Paul,

    I cannot reliably auto-reboot program any of my teensies (2 or 3) on win 7 x64 (java is 1.7.something). I have never had an issue with any arduino board. I can pretty regularly get them to...
  50. Replies
    28
    Views
    11,210

    New thread started Sorry

    New thread started

    Sorry
Results 1 to 50 of 63
Page 1 of 2 1 2