Python Forum
best way to use switch case?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
best way to use switch case?
#5
OK
I didn't thought it metter

this is what I want to do:
read canbus data (I have this working now)
read the PID ( I have this working now)
according to the PID analyze and print what can I know from it( so if I get 7F7 - it will print "this is Speed")
after I will know on with data I'm , I will analyze the data according to the DB ( Byte 1-2 its current speed, byte 3-4 it's avarage speed, 5-7 max speed)
****the speed is only example****
Reply


Messages In This Thread
best way to use switch case? - by korenron - Aug-11-2021, 12:43 PM
RE: best way to use switch case? - by buran - Aug-11-2021, 01:08 PM
RE: best way to use switch case? - by korenron - Aug-11-2021, 01:16 PM
RE: best way to use switch case? - by buran - Aug-11-2021, 01:23 PM
RE: best way to use switch case? - by korenron - Aug-11-2021, 01:35 PM
RE: best way to use switch case? - by DeaD_EyE - Aug-11-2021, 02:09 PM
RE: best way to use switch case? - by buran - Aug-11-2021, 02:38 PM
RE: best way to use switch case? - by korenron - Aug-12-2021, 06:32 AM
RE: best way to use switch case? - by naughtyCat - Aug-18-2021, 03:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  switch case not working Username0089098 1 714 Apr-09-2023, 05:49 AM
Last Post: buran
  Switch case or match case? Frankduc 9 4,615 Jan-20-2022, 01:56 PM
Last Post: Frankduc
  How do I do this? Switch Case? mstichler 4 2,601 Jun-05-2020, 10:27 AM
Last Post: snippsat
  How to use switch/case in python? newbieguy 9 4,147 Nov-08-2019, 11:35 AM
Last Post: newbieguy
  switch limitations MuntyScruntfundle 3 2,415 Jan-27-2019, 06:11 PM
Last Post: aakashjha001
  How to write switch case statement in Python pyhelp 9 9,327 Nov-11-2018, 08:53 PM
Last Post: woooee

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020