Hi everyone, I'm new in here.
I have a trouble for my project in Shipped Softwares class. I need to use a state machine PPP protocol, and after that, ship this in a digispark pcb.
Do you have any ideas to this?
Some library useful to comunicate two boards with the infrared or some source for TX RX pins?
Thank you all
I have a trouble for my project in Shipped Softwares class. I need to use a state machine PPP protocol, and after that, ship this in a digispark pcb.
Either I did not understand your English or your teacher gave you task that you cannot achieve. The digispark has an ATtiny with 6k of flash available (I don't mention the RAM). I'd say it's simply impossible to implement a complete PPP stack in that limited space.
Sorry for that horrible explanation,
But, I need ship some kind of a PPP comunication using two digisparks. Both will "sync" in order to trade info. I doesn't need to be a full PPP protocol with 400 lines and 9 states.
Thanks for your reply
But, I need ship some kind of a PPP comunication using two digisparks. Both will "sync" in order to trade info. I doesn't need to be a full PPP protocol with 400 lines and 9 states.
That sounds to me as "I know that I have to use a bicycle but I don't tell you that my task is to 20 ton rock".
Tell us what problem you have to solve and not how you think it has to be solved. You won't be able to implement a PPP protocol in the 6kB of a digispark even if you don't need the optional stuff. I'm almost sure that you don't need a PPP protocol but because I don't know what needs to be transfered I'm not able to suggest an alternative.
I think I got it now. I need to make them send and receive infrared signals, and the link will be represented by a led blink, some sort like this
Do you need a state machine for the PPP PROTOCOL ( which would be quite large, even for a small subset), or just for receiving and transmitting PPP PACKETS (i.e. Async HDLC, much more reasonable...)