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

Search:

Type: Posts; User: Fox95

Search: Search took 0.00 seconds.

  1. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    as an update for anyone who may read this in the...

    as an update for anyone who may read this in the future, as unlikely as it sounds, i had two bad waveshare CAN boards. ordering new ones solved the above issues. thanks to everyone who responded...
  2. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    the wiring is good, it was working yesterday...

    the wiring is good, it was working yesterday sending CAN messages just fine.

    the issue arose when i tried to merge the two sets of code where the imu was connected the same time as the wave share...
  3. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    there's a bigger problem here. is there anyone...

    there's a bigger problem here. is there anyone here that works for teensy?

    when i upload one program it will work fine, but when i upload another program its like it wont initiliaze the CAN pins...
  4. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    i have a scope on pins 3, 4 on the teeensy board,...

    i have a scope on pins 3, 4 on the teeensy board, this pic shows what they are putting out, does it look normal?20628 the waveshare board was working earlier
  5. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    its a waveshare sn65hvd230 i didnt think they...

    its a waveshare sn65hvd230

    i didnt think they had enable pins?

    but it worked fine in before when it was just runing that very simply code of transmit only, it transmitted properly
  6. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    20627 i moved the CAN transmit block of code...

    20627

    i moved the CAN transmit block of code up into the area right under where it prints the values for the imu and this does not work either

    as you can see it prints the values of the imu out...
  7. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    yes, it currently prints out that values of roll...

    yes, it currently prints out that values of roll pitch yaw etc...
  8. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    i need to ask one more question, i need to apply...

    i need to ask one more question, i need to apply the above can transmit to a code file that runs a IMU but i am unsure where to put it in the file, i pasted it into the main loop but its not...
  9. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    i figured it out it needs to be this: ...

    i figured it out it needs to be this:

    Can0.write(msg);

    and now it works correctly! thank you for the help this is just what i needed, perfect!
  10. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    it errors when compiling: the line: ...

    it errors when compiling:

    the line: CAN.write (msg); is the error line and says 'CAN' was not declared in this scope
  11. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    20621 the values circled in the pic taken from...

    20621

    the values circled in the pic taken from your examples are not hex. I do not know what they are or where they come from.

    so can you tell me how to modify that code to simply transmit hex...
  12. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    I have ifct downloaded. Can you describe how to...

    I have ifct downloaded. Can you describe how to transmit the values in the right side of the pic using ifct?
  13. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    maybe if i ask like this, I'd like to be able to...

    maybe if i ask like this, I'd like to be able to send messages in hex like the code on the right. does anyone know the line command to be able to do this with flexcan? the code on the left is...
  14. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    412

    CAN bus write

    Is there a very basic example of a CAN bus write program somewhere for the teensy 3.6

    I found this on the sparkfun examples and i have made it work with the sparkfun can bus shield and uno.

    but...
Results 1 to 14 of 14