Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Simple Embedded Expression Evaluation

2012-11-26 by Mauro Zanin

Our sql server engine has this native capability ambedded. It can evaluate stored or realtime using stored or realtime parameters. It runs on a windows server.

Ciao
Mauro Zanin
Logic Data

  ----- Original Message ----- 
  From: Chuck Hackett 
  To: AVR-Chat 
  Sent: Sunday, November 25, 2012 11:08 PM
  Subject: [AVR-Chat] Simple Embedded Expression Evaluation


    
  I am looking for a simple expression evaluation routine for use in an AVR
  embedded system. My needs are simple:

  - Binary logical operators: logical AND (&) and OR(|)
  - Unary operator NOT(!)
  - Parentheses
  - Known (system) variables (T1, S1, etc.)

  Expressions such as:
  (T1 | S1) & (T2 | S2)

  All values are logical (i.e.: True/False).

  Later I might add logical functions but that's down the road.

  Anyone have a favorite?
   
  Cheers,

  Chuck Hackett
  "Good judgment comes from experience, experience comes from bad judgment"
  7.5" gauge Union Pacific Northern (4-8-4) 844
  http://www.whitetrout.net/Chuck



  

[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.